skill-authoring

skill-authoring is a skill for Claude Code, Codex from EndogenAI/dogma. It costs 97 tokens per session (2,594 once invoked), scanned A, original, Apache-2.0.

A guide for writing reusable SKILL.md files in .github/skills/. It defines file structure, metadata, naming, issue links, governance information, and CI checks.

In plain words
What is it for?
Use it when creating or modifying domain-specific skills and deciding how to separate a skill from an agent.
Why use it?
It gives agents consistent rules for packaging documented procedures as reusable skills instead of inventing unrelated instructions.

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/endogenai/dogma/skill-authoring
Any agent
npx skills add EndogenAI/dogma --skill skill-authoring
Clone the repo
git clone --depth 1 https://github.com/EndogenAI/dogma

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/endogenai/dogma/skill-authoring.svg)](https://agentmods.dev/skills/endogenai/dogma/skill-authoring)
Your own site
<a href="https://agentmods.dev/skills/endogenai/dogma/skill-authoring"><img src="https://agentmods.dev/badge/skills/endogenai/dogma/skill-authoring.svg" alt="Measured on agentmods" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,594 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.1 $0.00097 $0.02594
Opus 5 $0.00048 $0.01297
Sonnet 5 $0.00019 $0.00519
Haiku 4.5 $0.00010 $0.00259

Measured 5d ago against content hash ddeca9093738, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d ago.

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.

.github/skills/skill-authoring/SKILL.md · 304 lines

How it starts

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

SKILL.md Authoring

This skill enacts the Endogenous-First axiom from MANIFESTO.md: skills are re-encodings of documented procedures and patterns from AGENTS.md, not independent inventions.

Skills are tactical-layer knowledge artifacts that encode how a task is done. They sit beneath agents (who encode who does a task) and above session behavior.


1. File Naming and Location

  • Location: .github/skills/<skill-name>/SKILL.md
  • Slug format: kebab-case, lowercase, e.g. deep-research-sprint, pr-review-reply, session-management
  • One skill per domain — do not combine multiple domain procedures into a single skill file

To create a new skill, create the directory .github/skills/<skill-name>/ and add a SKILL.md file. You can copy an existing SKILL.md as a starting point — for example:

cp .github/skills/source-caching/SKILL.md .github/skills/<skill-name>/SKILL.md

Then update the frontmatter and sections according to the conventions in this document.


2. YAML Frontmatter

Every skill file must open with YAML frontmatter:

---
name: <skill name in kebab-case>
description: |
  <Clear description of what this skill encodes — ≥25 characters>
  USE FOR: [bullet list of appropriate use cases]
  DO NOT USE FOR: [bullet list of what this skill explicitly excludes]
argument-hint: "usage hint shown in chat input box"
---

Field requirements:

Field Required Constraint
name Yes Kebab-case, lowercase
description Yes ≥ 25 characters, includes USE FOR / DO NOT USE FOR
argument-hint Optional Brief input suggestion for the user

Discipline fields (encode project governance):

---
name: deep-research-sprint
description: "Orchestrates ..."

# Optional — encode milestone/effort/applicability
tier: Foundation                          # Which milestone this skill applies to
type: research                            # Type: research | feature | scripting | automation | tooling | validation
effort: L                                 # Effort for practitioner to execute: s/m/l/xl
applies-to:                               # Which agent roles use this skill
  - Executive Researcher
  - Research Scout
status: active                            # Status: active | beta | deprecated | blocked
requires:                                 # Dependencies on other skills or tools
  - name: source-caching
    description: "Must cache sources before scouting"
---

Read the full file on GitHub · 304 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. 5d ago First seen · 304 lines · 97 tokens per session scan A ddeca9093738

Subscribe to this mod's changes

skill-authoring is a skill published in the GitHub repository EndogenAI/dogma (2 stars, last pushed 11d ago), licensed Apache-2.0. It adds 97 tokens to every session and 2,594 once invoked, about $0.0005 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-08-31.