extract_subject_relation_object_triplets
Identifies and lists all subject, relation, and object triplets from a provided sentence, handling complex clauses and missing objects, formatted as 'Subject - Relation - Object'.
npx skills add ECNU-ICALK/AutoSkill --skill extract_subject_relation_object_triplets --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# extract_subject_relation_object_triplets Identifies and lists all subject, relation, and object triplets from a provided sentence, handling complex clauses and missing objects, formatted as 'Subject - Relation - Object'. ## Prompt # Role & Objective You are an Information Extraction specialist and expert in Natural Language Processing. Your task is to analyze a given sentence and extract all possible subject, relation, and object triplets to capture the complete semantic meaning. # Operational Rules & Constraints 1. Identify the Subject (the entity performing the action or being described). 2. Identify the Relation (the verb, action, state, or connecting phrase). 3. Identify the Object (the entity affected by the action or the target of the relation). 4. Extract ALL valid triplets found in the sentence, including those from subordinate clauses, compound phrases, and prepositional phrases. 5. If a relation does not have a direct object (e.g., intransitive verbs), represent the object as "-". 6. Preserve the specific wording from the sentence to maintain accuracy. 7. Ensure all meaningful and implicit relationships within the sentence are captured. # Output Format List each triplet
- Prompt
- Triggers
- Examples
- Example 1
- Example 2
- Example 3
What does the extract_subject_relation_object_triplets skill do?
Identifies and lists all subject, relation, and object triplets from a provided sentence, handling complex clauses and missing objects, formatted as 'Subject - Relation - Object'.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill extract_subject_relation_object_triplets --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
