skill-writing
Skill96 starsChanged 2 months agoMITView on GitHub
Bootstrap a project-local skill in .agents/skills/, expose it to Claude Code through a relative symlink, and verify the result with the repository's canonical skill validator. Optimize every new skill and its content for GPT-6.1 Sol and Claude Opus 5.5. The summaries below are reminders, not substitutes for the live guides. Read both guides before designing or writing a complex, long-running, multi-tool, or orchestration-heavy skill because their recommendations may evolve. - GPT-6.1 Sol prompting guidance (shared GPT-6 guide; evaluate its family-wide…
3 other projects use a version of this.
Adopted by
Most recently taken up by
- brianshepardpss/plugin-creator-plugintheir own version, first seen Oct 2, 2026
- jjanczur/tyrantheir own version, first seen Jul 27, 2026
- WalletConnect/skillstheir own version, first seen Feb 3, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- jjanczur/tyran★ 81same name
- WalletConnect/skills★ 14same name
- brianshepardpss/plugin-creator-plugin★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- toolkit/AGENTS.mdAGENTS.md
- agents-brainSkill
- agents-docsSkill
- agents-introspectionSkill
- ai-pruneSkill
- autoresearchSkill
- brainstormSkill
- chromium-browserSkill
- claude-handoffSkill
- cli-castSkill
- cli-coingeckoSkill
- cli-ghSkill
- cli-justSkill
- codebase-designSkill
- code-polishSkill
- codex-handoffSkill
- commitSkill
- copy-transcript-pathSkill
- effect-tsSkill
- evm-atlasSkill
- fresh-eyes-sweepSkill
- frontend-designSkill
- git-squashSkill
- grill-meSkill
- html-debriefSkill
- html-playgroundSkill
- interview-meSkill
- large-file-refactorSkill
- naming-refactorSkill
- node-deps-bumperSkill
- pdfSkill
- release-bumperSkill
- repo-cross-pollinationSkill
- repo-harmonizationSkill
- repo-renameSkill
- skill-doctorSkill
- skill-harmonizationSkill
- skill-mapSkill
- spreadsheetsSkill
- tailwind-cssSkill
- task-handoffSkill
- todo-archiveSkill
- tool-finderSkill
- vitestSkill
- wrap-upSkill
- yeetSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 45
Before resolving project-local paths, read the repository instructions applicable to the invocation working directory.
- Very specific: line 46
If they define a skill source catalog and lifecycle, stop this workflow and follow that repository-owned workflow.
- Very specific: line 68
Use --refresh for explicitly latest or change-sensitive work, disputed portable-format guidance, or a conflict with validator behavior.
- Distinctive: line 79
Read references/writing-great-skills.md completely before choosing the contract or layout.
- Very specific: line 107
Add disable-model-invocation: true or user-invocable: false only when the skill differs from Claude's defaults.
- Very specific: line 126
Use imperative prose and resolve bundled references/, scripts/, examples/, and assets/ paths relative to the owning skill directory.
- Distinctive: line 142
Always create a relative symlink so Claude Code picks the skill up from its own discovery path:
- Distinctive: line 164
Commit when the request or standing instructions authorize it.
- Distinctive: line 167
Keep helper stdout, commands, paths, frontmatter, and generated skill content undecorated unless the new skill's output contract requires …
“Common” is measured: kept by at least 6 in 10 of the 3 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.
Files
Skill Writing
Bootstrap a project-local skill in .agents/skills/, expose it to Claude Code through a relative symlink, and verify
the result with the repository's canonical skill validator.
Model Guidance
Optimize every new skill and its content for GPT-6.1 Sol and Claude Opus 5.5. The summaries below are reminders, not substitutes for the live guides. Read both guides before designing or writing a complex, long-running, multi-tool, or orchestration-heavy skill because their recommendations may evolve.
- GPT-6.1 Sol prompting guidance (shared GPT-6 guide; evaluate its family-wide recommendations on Sol): Complete authorized work under stated assumptions; make user-instruction precedence over skills explicit; specify writing and delegation preferences; and keep verification proportional to the change.
- Claude Opus 5.5 prompting guidance: Calibrate effort instead of prompting for more thinking; never ask for reasoning in response text; name the premature stops to avoid and the stops that are wanted; treat text-only turns as reports, not completion; request brief progress updates; explore relevant sources before acting; and name concrete patterns to avoid instead of generic style advice.
Input
- skill-name (optional): a kebab-case name such as
my-skill. If omitted, derive the shortest unambiguous kebab-case domain name for the skill's purpose, without repeating the repository or app name as context (for exampleprice-estimator, notbudget-price-estimator), and state the derived name in the completion report. Stop only when a supplied name is invalid or collides with an existing skill (see the collision check in step 2).
Reject --global, explicit destination paths, and other scope overrides. The invocation working directory is the only
supported scope.
Workflow
1. Apply the Repository Catalog Guard
Before resolving project-local paths, read the repository instructions applicable to the invocation working directory.
If they define a skill source catalog and lifecycle, stop this workflow and follow that repository-owned workflow. Do
not create .agents/skills/ or .claude/skills/ paths there.
2. Resolve and Validate the Local Scope
Set <scope> to the working directory where the skill was invoked. Create the source at
<scope>/.agents/skills/<name>/ and the Claude Code symlink at <scope>/.claude/skills/<name>. Do not redirect the
scope to the repository root when invoked from a nested project or workspace. Never create or modify a skill under
~/.agents, ~/.claude, ~/.codex, or another global installation directory.
The symlink target is always the relative path ../../.agents/skills/<name>.
Reject a collision before writing: stop if either the source directory or symlink path already exists.
3. Read the Current Format Sources
Resolve scripts/fetch-agentskills-spec.sh relative to this skill directory. Run
scripts/fetch-agentskills-spec.sh [--refresh] once and read the returned file completely. The helper reuses an
integrity-valid specification for 24 hours, conditionally revalidates older entries, and may return a cache validated
within seven days when live retrieval fails. Set AGENTSKILLS_CACHE_DIR when the default user cache location is
unavailable or unwritable.
Use --refresh for explicitly latest or change-sensitive work, disputed portable-format guidance, or a conflict with
validator behavior. A stale result is usable only after reading it; disclose its validation timestamp and retrieval
failure in the completion report. If the helper cannot return a valid file, stop before writing. Never fetch the
agentskills.io specification directly or create its cache in a repository or skill installation.
Fetch the current Claude Code frontmatter reference with
WebFetch. Confirm field shapes, naming rules, and progressive-disclosure conventions from both sources; do not guess
because the formats evolve.
4. Define the Contract and Layout
Read references/writing-great-skills.md completely before choosing the contract or layout. It defines the authoring principles, content-routing thresholds, helper runtime defaults, and communication contract.
Define the contract and identify every skill the workflow requires, invokes, or hands off to on any supported branch.
Suggestions, examples, related-skill references, and underlying tool capabilities are not dependencies. Create only the
directories justified by the selected layout; SKILL.md and agents/openai.yaml are always required.
5. Create the Skill
mkdir -p "<scope>/.agents/skills/<name>/agents"
# Add only the subdirectories the layout calls for:
# mkdir -p "<scope>/.agents/skills/<name>/scripts"
# mkdir -p "<scope>/.agents/skills/<name>/references"Write <scope>/.agents/skills/<name>/SKILL.md with:
- Frontmatter sorted alphabetically, with
descriptionlast. Front-load discovery-time trigger phrases indescription. - A
skill-dependenciesarray when routing identified dependencies. Use bare names for skills in the same repository andORG/REPO#SKILLfor external skills. Sort by the target skill name (the bare name or substring after#), then by the complete identifier. Require unique strings, resolve every bare dependency in the same repository, and exclude the owning skill as a bare dependency. External repository existence is not validated. Omit the field when no dependencies exist. - A short
# Title. - A one-line summary of what the skill does.
- Add
disable-model-invocation: trueoruser-invocable: falseonly when the skill differs from Claude's defaults. Omitdisable-model-invocation: falseanduser-invocable: truebecause absence already expresses those values. Set
coordination: exemptonly when the skill's declared default workflow writes no repository files or only repository metadata. When selected, add this ordinary prose declaration to the new skill's body; the fence below is documentation for this authoring skill, not its own declaration:This skill is coordination-exempt: skip the ai-coord gate for its declared work.Explicitly authorized escalation beyond the declared behavior re-enters the gate.
## Arguments(if any) and a lean imperative workflow. Use fixed steps only when order matters; otherwise state the contract and let repository evidence guide execution.- Explicit links to every
references/file the workflow may need, each with a one-line note describing when to read it. - CLI signatures for every bundled helper, including arguments, output, defaults, and the runtime command, so an agent can invoke it without reading its source.
Use imperative prose and resolve bundled references/, scripts/, examples/, and assets/ paths relative to the
owning skill directory. Do not add repository-style support files or authoring artifacts that runtime agents will not
use. Quote YAML plain scalars containing a colon followed by a space; otherwise the frontmatter parser may reject them.
Write <scope>/.agents/skills/<name>/agents/openai.yaml with:
policy:
allow_implicit_invocation: trueSet allow_implicit_invocation to the inverse of SKILL.md disable-model-invocation. If later adding Codex UI
metadata or MCP/tool dependencies, merge them into the same file and keep the policy.
6. Create the Claude Code Symlink
Always create a relative symlink so Claude Code picks the skill up from its own discovery path:
mkdir -p "<scope>/.claude/skills"
ln -s "../../.agents/skills/<name>" "<scope>/.claude/skills/<name>"7. Verify and Report
- Patch tooling creates files at mode 0644. Before the first verification run,
chmod 755every executable underscripts/andtests/(a scaffolded test failing its first run withPermission denied (os error 13)is this cause). test -f "<scope>/.agents/skills/<name>/SKILL.md"test -f "<scope>/.agents/skills/<name>/agents/openai.yaml"readlink "<scope>/.claude/skills/<name>"equals../../.agents/skills/<name>, and the link resolves to the source directory.test -xeveryscripts/*andtests/*executable so a missedchmodfails loudly instead of surfacing later as a permission error.ai-skillet doctor --root "<scope>/.agents/skills/<name>"exits 0. This is the canonical local schema and policy gate.- Finish with
### 🧩 Skill created: <name>, a tree of created paths, and### ✅ Verifiedwith the exact checks. Link files by their absolute.agents/skills/<name>/source paths, never through the.claude/skills/<name>symlink. - Commit when the request or standing instructions authorize it; otherwise offer to commit. Do not ask again for authorization already given.
Keep helper stdout, commands, paths, frontmatter, and generated skill content undecorated unless the new skill's output contract requires otherwise.
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
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.

