agentleFS
wilbeibiwilbeibi/wilbeibi-skills/skills/write-skill/SKILL.md

write-skill

Skill2 starsChanged 3 months agoMITView on GitHub

Author or update compact agent skills under skills/<name>/SKILL.md. Use when asked to write, add, or change a skill; not to audit a skill library.

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use handoff.

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.
  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. 0 are common, 12 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create compact skills under skills/<name>/ that load only the behavior needed at invocation time.

    line 9
  2. Distinctive:

    Add helper files only when they remove repeated deterministic work.

    line 16
  3. Distinctive:

    Use 1-3 sentences, third person, present tense.

    line 47
  4. Very specific:

    Add Do NOT use ... for broad domains such as review, search, docs, macOS, git, or browser work.

    line 50
  5. Distinctive:

    Avoid marketing words, time-sensitive claims, and duplicate "this skill should be used when" phrasing.

    line 51
  6. Distinctive:

    Keep the trigger nouns users actually say (product, tool, action, object).

    line 53
  7. Very specific:

    Put deterministic work in scripts/ or the existing executable.

    line 81
  8. Very specific:

    Use Run <tool> --help for all flags.

    line 83
  9. Distinctive:

    Prefer 30-60 lines. If setup is long, keep the readiness check inline and move walkthroughs one hop away.

    line 84
  10. Distinctive:

    Keep the lens, decision order, and output contract.

    line 88
  11. Distinctive:

    Avoid rigid full templates unless structure is the skill's core value.

    line 89
  12. Distinctive:

    Do not prescribe another harness's tool names, subagent APIs, or compaction mechanism.

    line 102
  13. Distinctive:

    Keep names/descriptions brief and task-specific.

    line 104
  14. Distinctive:

    Use detailed sequences where order or safety matters.

    line 106
  15. Very specific:

    When the user chooses explicit-only activation, use disable-model-invocation: true in frontmatter for Claude/Pi and …

    line 108
  16. Distinctive:

    Keep automatically useful operational skills discoverable.

    line 111
  17. Distinctive:

    Update the existing catalog row if the skill's purpose or invocation changes.

    line 125

“Common” is measured: kept by at least 6 in 10 of the 11 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

write-skill

Create compact skills under skills/<name>/ that load only the behavior needed at invocation time.

Workflow

  1. Clarify only missing essentials: capability, triggers, non-triggers, tool/script needs, and portability.
  2. Pick a unique kebab-case name.
  3. Draft SKILL.md as an operator card: what to run, when to run it, what output means, what traps matter. End each step with a checkable completion criterion.
  4. Add helper files only when they remove repeated deterministic work.
  5. Compress once; add one README row; do not commit unless asked.

Template

---
name: <kebab-case>
description: <Concrete capability.> Use when <real phrases, file types, tools, or contexts>. Do NOT use <negative triggers if broad>.
---

# <name>

<One-line operational contract.>

## Usage / Commands / Routing

```bash
scripts/tool_or_helper.py <arg>
```

## Notes

- <What output shape means, or how to consume it.>
- <Hard rule, setup failure, safety boundary, or common mistake.>

Description

The description is the routing surface; optimize it first.

  • Use 1-3 sentences, third person, present tense.
  • Sentence 1 names the concrete capability.
  • Sentence 2 starts with Use when ... and lists actual trigger phrases, file types, tools, or contexts.
  • Add Do NOT use ... for broad domains such as review, search, docs, macOS, git, or browser work.
  • Avoid marketing words, time-sensitive claims, and duplicate "this skill should be used when" phrasing.
  • State triggers, never a workflow summary: agents follow a summarized flow in the description and skip the body.
  • Keep the trigger nouns users actually say (product, tool, action, object); cut the rest. Codex gives the whole skill list 2% of the context window and truncates every description equally when it overflows.

Body

Keep:

  • runnable commands or exact workflow steps;
  • setup checks that commonly block first use;
  • compact output contracts;
  • routing boundaries and safety pitfalls;
  • one strong example per command or concept (several invite pattern-matching instead of understanding).

Match the form to the failure the skill fixes:

Observed failureWrite
Output has the wrong shapeA positive recipe or template; prohibitions backfire here
One element gets omittedA structural slot marked REQUIRED
Behavior should depend on contextA predicate-keyed branch, not "usually X, except when Y" (agents treat the exemption as always true)

Delete:

  • overview prose that restates the description;
  • installation/contributing/privacy/troubleshooting sections unless they change agent behavior;
  • copied CLI help, schemas, flag catalogs, or generated docs;
  • repeated prompt examples and canned analyses;
  • detail already present in README, references, or helper scripts.

Tool Skills

  • Put deterministic work in scripts/ or the existing executable.
  • Make SKILL.md a menu of invocations plus output shape and gotchas.
  • Use Run <tool> --help for all flags; keep only non-obvious flags.
  • Prefer 30-60 lines. If setup is long, keep the readiness check inline and move walkthroughs one hop away.

Workflow Skills

  • Keep the lens, decision order, and output contract.
  • Avoid rigid full templates unless structure is the skill's core value.
  • Findings should lead for review skills; summaries and praise are optional.
  • Split philosophy, examples, and source notes into references/REFERENCE.md. Keep examples inline when the example is the instruction, as in an output-shape skill.
  • For a skill that orchestrates subagents, claims coverage, or emits a report artifact, read references/heavyweight-workflow-patterns.md for mode gating, verdict tiers, coverage ledgers, and fail-loud terminal states. Not needed otherwise.

Targeting

Shared skills target Codex, Claude Code, and Pi. Keep task knowledge, acceptance criteria, and executable helpers shared. Prefer existing CLIs for repeatable operations. Isolate harness-specific behavior only where required, and declare its dependency explicitly. Do not prescribe another harness's tool names, subagent APIs, or compaction mechanism.

Keep names/descriptions brief and task-specific. Model-specific corrections belong in local settings or a relevant reference, supported by an observed failure rather than a universal rule. Use detailed sequences where order or safety matters; otherwise describe the outcome and boundaries.

When the user chooses explicit-only activation, use disable-model-invocation: true in frontmatter for Claude/Pi and policy.allow_implicit_invocation: false in agents/openai.yaml for Codex. Preserve existing metadata and local overrides. Invocation controls do not grant action permissions. Keep automatically useful operational skills discoverable; require approval at the actual restricted action.

Cross-skill pointers: a negative one (Do NOT use for charts (use dataviz)) degrades harmlessly where the named skill is absent; a positive one (run X first) dangles, so those must name a skill in skills/.

Final Check

  • Name is unique kebab-case.
  • Description has concrete Use when ... triggers and needed Do NOT use ... boundaries.
  • SKILL.md is under ~120 lines, preferably 30-60 for tool wrappers.
  • Helpers are invoked, not duplicated in prose.
  • Positive cross-skill pointers name a skill that exists in skills/.
  • Agent- or OS-only requirements are declared in compatibility:, not worked around.
  • Update the existing catalog row if the skill's purpose or invocation changes.

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.