agentleFS
itsaspacestationitsaspacestation/natural-intelligence/skills/skill/SKILL.md

skill

Skill1 starsChanged 2 months agoApache-2.0View on GitHub

Use when creating or editing a skill, agent, or command inside the ni plugin, when a skill does not trigger or triggers too often, when moving content between skills or into a reference file, or when the user asks how ni skills are structured, linked, tested, or installed.

29 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use visual-verdict, ai-slop-cleaner and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • lza6Skill

    visual-verdict

    Structured visual QA verdict for screenshot-to-reference comparisons

    Also in 3 projects that use this

  • lza6Skill

    ai-slop-cleaner

    Run an anti-slop cleanup/refactor/deslop workflow

    Also in 3 projects that use this

  • the-huginSkill

    configure-notifications

    Configure notification integrations (Telegram, Discord, Slack) via natural language

    Also in 3 projects that use this

  • an8079Skill

    hud

    Also in 3 projects that use this

  • an8079Skill

    ralplan

    Also in 3 projects that use this

  • aviz85Skill

    deep-interview

    Conduct deep adaptive interviews to extract and organize knowledge into structured files and folders. Use when user says "interview me about X", "deep interview", "extract my knowledge", "build knowledge base from interview", "ask me questions about X", or wants to systematically capture expertise on any topic through guided questioning.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every ni skill fits one plugin.

    line 19
  2. Distinctive:

    Start with "Use when". Third person.

    line 54
  3. Distinctive:

    Never repeat a rule that lives in another skill.

    line 91
  4. Distinctive:

    Add the skill, agent, or command to the README table

    line 117
  5. Very specific:

    Commit with the git-conventions skill

    line 120
  6. Distinctive:

    Never write a skill for a one-off task or a project convention: those go in CLAUDE.md.

    line 128
  7. Distinctive:

    Never duplicate a rule an existing skill owns.

    line 129

“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill

When to use

  • User asks to create, rename, split, merge, or rewrite a ni skill, agent, or command
  • A skill does not trigger, or triggers on unrelated prompts
  • A SKILL.md grows past 300 lines or carries content another skill also needs
  • User asks how ni is laid out, linked, validated, or installed

Overview

A skill is a reference guide for a proven technique, not a story about one task. It loads only when its description matches the prompt, so the description decides whether the body is ever read. Write the smallest body that changes behaviour.

Every ni skill fits one plugin. Same voice, same sections, same linking. A new skill that reads like its neighbours costs the reader nothing to learn.

Template: template.md. Copy it, then delete the sections you do not need.

Layout

natural-intelligence/
  .claude-plugin/plugin.json   manifest, hooks
  agents/<name>.md             subagents, spawned as ni:<name>
  commands/<name>.md           slash commands, run as /ni:<name>
  scripts/*.sh                 hook scripts, bash only, no node
  skills/<name>/SKILL.md       one skill per folder, name = folder
  skills/<name>/<topic>.md     reference file, linked from SKILL.md
  README.md                    skill, agent, and command tables

Names are short nouns or noun pairs, lowercase, hyphens: plan, tdd, code-review. Folder name equals frontmatter name. Claude exposes it as ni:<name>.

Frontmatter

---
name: <folder-name>
description: "Use when <triggers>. Also use when <more triggers>."
---

Description rules:

  1. Triggers first. Say when to load. One short clause on what the skill is may precede it. Never summarise the workflow: a description that summarises the steps gets followed instead of the body.
  2. Start with "Use when". Third person. Double quotes. Name under 64 characters.
  3. List concrete symptoms, phrasings, file types, and tool names a prompt would contain.
  4. Under 500 characters when possible, 1024 at most.

Not: description: "Prevents hallucinations by requiring evidence for all claims." Yes: description: "Use when analysing code, explaining behaviour, reviewing a change, or making any claim about how the code works."

Body

Sections in this order. Drop any that has nothing to say.

SectionHolds
# TitleSkill name in words
## When to useBullets, one trigger each, mirrors the description
## OverviewTwo to four sentences: what it is, core principle, links to related skills
## Rules or ## WorkflowNumbered when order matters, bullets otherwise
## <Topic>One heading per technique or table
## BoundariesWhat the skill never does, what it hands to another skill

Voice: lite terse prose, whatever the session level. Full sentences under 20 words, active, imperative for instructions, one term per concept. No filler, no emoji, no decorative tables. Tables carry data or comparisons only.

Length: under 300 lines. Under 150 when the skill loads often. Move heavy reference (commands, API detail, long examples) to a sibling file and link it.

Examples: one "Not" line and one "Yes" line beat a paragraph. Code blocks for commands.

Linking

Link sibling skills with relative markdown links: tdd. Reference files link back to their skill: code-review. Mark hard dependencies:

  • **REQUIRED BACKGROUND:** the [x](../x/SKILL.md) skill defines ...
  • **REQUIRED SUB-SKILL:** use [tdd](../tdd/SKILL.md) for the failing test

Never repeat a rule that lives in another skill. Link it. One owner per rule.

Reference files sit next to SKILL.md and link from it directly, one level deep. No reference file links another reference file.

Agents are referenced by their spawn name in backticks: ni:investigator.

Agents

File agents/<name>.md. Frontmatter: name, description (when to spawn, what comes back), optional model (haiku for locate and review jobs), tools as a comma list. Body: role in one line, job, output contract as a code block, refusals as terminal first lines, auto-clarity note. Output contracts are the point: rows, not prose.

Commands

File commands/<name>.md. Frontmatter: description, optional argument-hint. Body is the prompt Claude receives. The placeholder ARGUMENTS with a dollar prefix carries the arguments (written out here because skills expand it too). Keep commands thin: point at a skill or a hook, do not restate rules. A command that needs a shell call prompts for approval, so let a hook do the write when one runs anyway.

Verify and install

  1. claude plugin validate . --strict from the repo root
  2. claude --plugin-dir . -p "..." to load from the working tree
  3. Add the skill, agent, or command to the README table
  4. Bump version in .claude-plugin/plugin.json: users only get updates on a version change
  5. /reload-plugins in a running session, or start a new one
  6. Commit with the git-conventions skill

Optional trigger test: run a prompt that should load the skill with --model haiku -p and ask which skills it used. Run one that should not. Adjust the description on a miss.

Boundaries

This skill covers ni only. Project skills under .claude/skills/ follow their project. Never write a skill for a one-off task or a project convention: those go in CLAUDE.md. Never duplicate a rule an existing skill owns.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.