skill-authoring

skill-authoring is a skill for Claude Code, Codex from diillson/chatcli. It costs 76 tokens per session (877 once invoked), scanned A, original, Apache-2.0.

A guide and workflow for creating reusable skills for the agent. A skill is a saved procedure that can be activated when a related task appears.

In plain words
What is it for?
Use it to author or update skills for recurring workflows, project rules, setup procedures, and non-obvious fixes.
Why use it?
It helps preserve project conventions and repeated working methods so they do not have to be explained from scratch each time.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/diillson/chatcli/skill-authoring
Any agent
npx skills add diillson/chatcli --skill skill-authoring
Clone the repo
git clone --depth 1 https://github.com/diillson/chatcli

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skill-authoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/diillson/chatcli/skill-authoring.svg)](https://agentmods.dev/skills/diillson/chatcli/skill-authoring)
Your own site
<a href="https://agentmods.dev/skills/diillson/chatcli/skill-authoring"><img src="https://agentmods.dev/badge/skills/diillson/chatcli/skill-authoring.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 877 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00076 $0.00877
Opus 5 $0.00038 $0.00439
Sonnet 5 $0.00015 $0.00175
Haiku 4.5 $0.00008 $0.00088

Measured yesterday against content hash ac4423918fe9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

skill-authoring scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pkg/persona/builtin/skills/skill-authoring/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill Authoring (self-evolving skills)

You can grow your own capabilities. When you learn something reusable, capture it as a skill with @skill so it auto-activates the next time it's relevant — in this session and every future one. This is how you get better over time instead of relearning the same thing.

@memory vs @skill — pick the right store

  • @memory = durable facts about the user/project: "the user prefers tabs", "prod is in us-east-1", "the user's name is Ana". Short, declarative.
  • @skill = a reusable procedure or body of knowledge with triggers: "how to deploy this project", "the team's PR conventions", "how to run the data pipeline". Multi-step, activated by keywords.

If it's a one-line fact → @memory. If it's "how to do X" that you'd want to follow again → @skill.

When to author a skill

Author (or update) a skill when you notice:

  • A workflow the user repeated 2+ times, or asked you to "always do it this way".
  • A project convention you discovered (build/test/deploy commands, branch naming, lint rules).
  • A non-obvious procedure you worked out (a fix, a setup, a sequence of tool calls).
  • The user explicitly says "make a skill" / "remember how to do this".

Don't author for one-offs, trivia, or things already covered by an existing skill (update that one instead — check @skill list / @skill show first).

How to write a good skill

<tool_call name="@skill" args='{"cmd":"create","args":{
  "name":"deploy-acme-api",
  "description":"How to deploy the Acme API. Use when asked to deploy/ship the Acme API.",
  "triggers":["deploy acme","ship the api","release acme"],
  "content":"# Deploy Acme API\n\n1. Run the tests: make test\n2. Tag: git tag vX.Y.Z\n3. ...",
  "allowed_tools":["@coder","Bash"]
}}' />

Quality bar:

  • name: kebab-case, specific (deploy-acme-api, not deploy).
  • description: one line that says what it is and when to use it — this is what decides whether the skill gets activated, so make it precise.
  • triggers: the natural phrases a user would say. Include both languages if the user mixes.
  • content: concrete, step-by-step, with the actual commands/paths. Write it so a fresh session could follow it. Prefer the OS-independent native tools where possible.

Read the full file on GitHub · 75 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 75 lines · 76 tokens per session scan A ac4423918fe9

Subscribe to this mod's changes

skill-authoring is a skill published in the GitHub repository diillson/chatcli (89 stars, last pushed today), licensed Apache-2.0. It adds 76 tokens to every session and 877 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

pptx

从论文、大纲或结构化文本生成 PowerPoint (.pptx) 演示文稿。Use when 用户需要把一篇论文/文章/大纲做成幻灯片、slides、演示文稿、PPT、deck。Don't use when 只需纯文本总结、生成 Word/PDF、或修改已有 pptx 的单个像素级样式。.

bojieli/ai-agent-book · 84 tokens

ai-style

当任务是用中文撰写或改写面向读者的文案(产品发布稿、公众号文章、邮件、README 等), 或用户反馈文字「AI 味太重」「不像人写的」时,加载本 Skill。.

bojieli/ai-agent-book · 25 tokens

triage

你是当前任务的分诊协调者。先识别用户的全部目标、顺序依赖和验收条件,再按 “事实检索 → 计算/执行 → 写作”顺序逐步请求切换到需要的专业能力。不要替专业 能力完成它的工作,也不要在信息缺失时臆造结果。.

bojieli/ai-agent-book · 28 tokens

data_analysis

基于已确认数据执行可审计的数学计算和描述统计。.

bojieli/ai-agent-book · 19 tokens

coding

编写并运行 Python 代码,验证脚本逻辑和输出。.

bojieli/ai-agent-book · 18 tokens

aidd-dev:00:sdlc

Pure orchestrator for the full AIDD development flow. Use when a human (or Gardener) needs to take a free-form request from idea to shipped code, end-to-end. Coordinates spec generation, planning, implementation, and review by composing other skills and agents. Holds no business logic of its own — every step is…

ai-driven-dev/framework · 76 tokens