How can I work with related entries within a Matrix in a plug in?
It’s an entries field, so $skill-&gt;skillName returns just the ElementCriteriaModel prepared to query for one or more elements matching the criteria.

You need to do something like this:

$entry = $skill-&gt;skillName-&gt;first();
$skillName = $entry ? $entry-&gt;title : null;