Agent skill

Skill Authoring

by damianvtran in damianvtran/local-operator

Writing and improving agent skills: description as routing signal, progressive disclosure, token budgets, testing before shipping, and improving from repeated mistakes.

MITAuto-check passedAgent Workflows

Install Skill Authoring

skills CLI
$ npx skills add damianvtran/local-operator --skill skill-authoring -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install damianvtran/local-operator skill-authoring --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/damianvtran/local-operator.git skills-src && mkdir -p .claude/skills && cp -r skills-src/local_operator/skills/builtin/skill-authoring .claude/skills/skill-authoring && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
skill-authoring
GitHub stars
217
Token cost
~748 tokens
SKILL.md length
406 words
Files
2 (incl. references)
Repo updated
First seen
Licence
MIT

At a glance

Writing and improving agent skills: description as routing signal, progressive disclosure, token budgets, testing before shipping, and improving from repeated mistakes.

  • Reviewing a skill
  • SKILL.md covers Structure, The description is the routing…, Body rules and Test before shipping, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Skill authoring

What it does

Skill Authoring is an agent skill from damianvtran/local-operator. Writing and improving agent skills: description as routing signal, progressive disclosure, token budgets, testing before shipping, and improving from repeated mistakes. Use when authoring, editing, or reviewing a skill.

Its SKILL.md is about 750 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/template.md`).

It sits in Agent Workflows, covering Skill authoring and LLM cost and token optimization. The repository describes itself as: An open-source AI agent hub for your own machine: build organizations of collaborating agents that message each other, run in the background around the clock, and share your… The licence is MIT.

When your agent uses it

  • Reviewing a skill
  • Tasks that involve Skill authoring
  • Tasks that involve LLM cost and token optimization

Example prompts

  • “/skill-authoring”

What it can do on your machine

Read from SKILL.md and the folder at commit 05e4c97. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Skill Authoring loads about 748 tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 59 tokens; SKILL.md has 406 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~748
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from damianvtran/local-operator at commit 05e4c97, republished under its MIT licence (© damianvtran). 406 words, ~748 tokens.

Download SKILL.mdSave it as .claude/skills/skill-authoring/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
skill-authoring
description
Writing and improving agent skills: description as routing signal, progressive disclosure, token budgets, testing before shipping, and improving from repeated mistakes. Use when authoring, editing, or reviewing a skill.

Skill authoring

A skill is instructions that route: the description selects it, the body runs it. Write for both, and test before shipping.

Structure

  • SKILL.md frontmatter: name (kebab-case, equal to the directory name) and description. Flags and loading rules: guide://extensions.
  • Body: the procedure, imperative, in the fewest lines that stay complete. Lead with the steps; put the why in one clause where a step would look arbitrary without it.
  • References (references/*.md, at most 3): deeper material only some tasks need. The body must stand alone without them. Template: references/template.md.
  • Budgets: description 220 characters or less; body 120 lines and about 6 KB or less. Every session lists the description, so cut hard.

The description is the routing signal

  • It is the only text seen before a skill is read. It must contain the task vocabulary a user would actually type.
  • Third person, one or two sentences: what the skill does, then "Use when ..." for the trigger.
  • Test it: write three prompts that should select the skill and two that should not. If the description cannot separate them, rewrite it.

Body rules

  • Imperative voice; checklists and tables over prose.
  • Add a red-flags section wherever the failure mode is an agent rationalising a shortcut; those are the costly failures.
  • State constraints where they matter ("never install a browser engine", budgets, portability rules).
  • Do not restate what the model already knows, and do not duplicate agent role instructions; skills are shared knowledge, roles are assignments.
Show full SKILL.md (164 more words)Show less

Test before shipping

  • Dry-run: hand the skill and a realistic task to a fresh agent context; watch whether the procedure is followable as written. Ambiguity shows up as invented steps.
  • Pilot prompts: selection fires on the should-list and stays quiet on the should-not-list.
  • Budget check: measure description characters, body lines, and bytes mechanically after every edit.

Improvement loop

Fix a repeated mistake at the HIGHEST enforceable level: lint, then test, then prose. A rule in tooling cannot be forgotten; a rule in prose can.

LevelExampleUse when
Tooling or lintA checker that fails on the patternThe rule is mechanical
TestA test encoding the expected behaviourThe rule is behavioural
Skill proseA red-flag line in the skillThe rule needs judgement

Keep a rule-to-enforcement table in the skill when several rules exist; anything enforced below its level is a known gap, not a fix.

Where skills live

  • Roots, discovery order, and precedence: guide://skills.
  • Format mechanics: guide://extensions. Template to copy: references/template.md.

© damianvtran, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in local_operator/skills/builtin/skill-authoring of damianvtran/local-operator.

  • SKILL.md
  • references/template.md

Open the folder on GitHubat commit 05e4c97

Compare with similar skills

Skill Authoring next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Skill Authoring compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Skill Authoring this skilldamianvtran/local-operator217—~748Automated safety check: PassMIT
Claude Code Masteryborghei/Claude-Skills891—~1.9kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79689 repos~8.2kAutomated safety check: PassApache-2.0
Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase10k11 repos~3.5kAutomated safety check: PassMIT
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
Claude Code Command Developmentanthropics/claude-plugins-official38k10 repos~4.8kAutomated safety check: PassApache-2.0

Similar skills

  • Claude Code Mastery

    borghei/Claude-Skills

    A skill your agent uses when the user asks to "optimize CLAUDE.md", "create a new skill", "write a custom agent", "configure hooks", "manage context window", "set up MCP servers", "scaffold a skill…

    891 GitHub stars~1.9k tokensUpdated 4 days ago
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    796 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Skill Developer Guide

    diet103/claude-code-infrastructure-showcase

    A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.

    10k GitHub starsUsed in 11 repos~3.5k tokens
    Agent WorkflowsAuto-check passed
  • Darwin Skill Optimizer

    alchaincyf/darwin-skill

    Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.

    6.2k GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Command Development

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code slash commands: Markdown files with YAML frontmatter, arguments, file references, bash context and interactive prompts.

    38k GitHub starsUsed in 10 repos~4.8k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Plugin Structure

    anthropics/claude-plugins-official

    Official

    Explains the directory layout, plugin.json manifest and component organization of a Claude Code plugin, including auto-discovery and portable paths.

    38k GitHub starsUsed in 10 repos~3.4k tokens
    Agent WorkflowsAuto-check passed

More from damianvtran/local-operator

All 8 skills in this repo
  • Design QA

    damianvtran/local-operator

    Deterministic design review for UI/UX on web and terminal screens: measure contrast, spacing, overlap, clipping and copy defects, then judge the rest.

    217 GitHub stars~729 tokensUpdated today
    Auto-check passed
  • Code Review

    damianvtran/local-operator

    Reviewing code for defects: diff-first reading, severity classification, evidence over inference, finding caps, and terminal verdicts.

    217 GitHub stars~672 tokensUpdated today
    Auto-check passed
  • Data Analysis

    damianvtran/local-operator

    Analysing data rigorously: profile before trust (keys, missingness), reproducible queries, provenance per number, units and sanity checks.

    217 GitHub stars~709 tokensUpdated today
    Auto-check passed
  • Financial Analysis

    damianvtran/local-operator

    Financial figures done carefully: periods and fiscal calendars, units and currencies, reconciliation, magnitude sanity checks, sourced assumptions.

    217 GitHub stars~657 tokensUpdated today
    Auto-check passed
  • Frontend Design

    damianvtran/local-operator

    Designing interfaces with a deliberate point of view: plan before pixels, avoid the generic-default look, typography and colour discipline, a quality floor that is not negotiable.

    217 GitHub stars~773 tokensUpdated today
    Auto-check passed
  • Responding To Review

    damianvtran/local-operator

    Answering review findings: verify each claim before implementing, no performative agreement, per-item fix/reject/defer with evidence, one batched remediation round.

    217 GitHub stars~616 tokensUpdated today
    Auto-check passed

Categories

Questions about Skill Authoring

What does Skill Authoring do?

Writing and improving agent skills: description as routing signal, progressive disclosure, token budgets, testing before shipping, and improving from repeated mistakes. Skill Authoring is an agent skill from damianvtran/local-operator. Writing and improving agent skills: description as routing signal, progressive disclosure, token budgets, testing before shipping, and improving from repeated mistakes.

When should I use Skill Authoring?

Skill Authoring fits situations like: reviewing a skill; tasks that involve Skill authoring; tasks that involve LLM cost and token optimization.

How do I install Skill Authoring in Claude Code?

Run `npx skills add damianvtran/local-operator --skill skill-authoring -a claude-code`. Or copy the skill folder (local_operator/skills/builtin/skill-authoring in damianvtran/local-operator) into .claude/skills/skill-authoring in your project. Claude Code loads it when a task matches its description.

How do I install Skill Authoring in Codex?

Run `npx skills add damianvtran/local-operator --skill skill-authoring -a codex`. Or copy the skill folder (local_operator/skills/builtin/skill-authoring in damianvtran/local-operator) into .agents/skills/skill-authoring in your project. Codex loads it when a task matches its description.

Can I use Skill Authoring in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add damianvtran/local-operator --skill skill-authoring -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skill-authoring, .gemini/skills/skill-authoring, .github/skills/skill-authoring and .opencode/skills/skill-authoring in your project.

What does Skill Authoring need to run?

SKILL.md names no scripts, command-line tools or credentials: Skill Authoring is instructions for the agent only.

Does Skill Authoring access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Skill Authoring safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Skill Authoring use?

Skill Authoring is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Skill Authoring use?

About 748 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 332 tokens, read only when the agent opens those files.

What are the alternatives to Skill Authoring?

Skills that share tags, products or a category with Skill Authoring: Claude Code Mastery (borghei/Claude-Skills, 891 stars), Skill Creator (Azure/azqr, 796 stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars) and Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Skill Authoring?

damianvtran (a GitHub user) maintains it in damianvtran/local-operator, which has 217 GitHub stars. The repository was last updated on October 11, 2026.

Source: damianvtran/local-operator on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.