write-spec

write-spec is a skill for Claude Code from me2resh/apexyard. It costs 25 tokens per session (866 once invoked), scanned A, original, MIT.

A set of instructions for AI coding agents working in apexyard, a multi-project software-management system. It explains which guidance to read for project operations, framework development, and different agent tools.

In plain words
What is it for?
Use it when working inside an apexyard operations repository, handling tickets and releases, or extending its hooks, skills, rules, and agents.
Why use it?
It helps agents follow the right repository rules and understand whether they are managing a project or changing apexyard itself.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code.

Good fit Use it when working inside an apexyard operations repository, handling tickets and releases, or extending its hooks, skills, rules, and agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/me2resh/apexyard/write-spec
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.

Any agent
npx skills add me2resh/apexyard --skill write-spec
Clone the repo
git clone --depth 1 https://github.com/me2resh/apexyard

Made for: Claude Code.

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 write-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/me2resh/apexyard/write-spec/github.svg)](https://agentmods.dev/skills/me2resh/apexyard/write-spec)
Your own site
<a href="https://agentmods.dev/skills/me2resh/apexyard/write-spec"><img src="https://agentmods.dev/badge/skills/me2resh/apexyard/write-spec/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for write-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/me2resh/apexyard/write-spec"><img src="https://agentmods.dev/badge/skills/me2resh/apexyard/write-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 866 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00025 $0.00866
Opus 5 $0.00013 $0.00433
Sonnet 5 $0.00005 $0.00173
Haiku 4.5 $0.00003 $0.00087

Measured 7d ago against content hash 0ae8edef56cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

write-spec 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 7d 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.

.claude/skills/write-spec/SKILL.md · 102 lines

How it starts

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

/write-spec — Feature Specification

Write a feature specification or product requirements document (PRD).

Activated role

When /write-spec runs, activate the Product Manager role — they own PRD creation, user stories, and acceptance criteria. For roadmap-level prioritisation calls, escalate to the Head of Product.

Design-heavy features should also involve the UX Designer (for user flows) and the UI Designer (for component specs) once the PRD has a problem statement. Technical feasibility review happens at the Tech Design phase, not here — the /write-spec output hands off to the Tech Lead who activates for Phase 2.

See .claude/rules/role-triggers.md for the full activation protocol.

Usage

/write-spec SSO support for enterprise
/write-spec Users want to export data as CSV
/write-spec We need better onboarding

Workflow

1. Understand the Feature

Accept any of: a feature name, a problem statement, a user request, or a vague idea.

2. Gather Context

Ask conversationally:

  • User problem — what problem does this solve? Who experiences it?
  • Target users — which user segment(s)?
  • Success metrics — how will we know this worked?
  • Constraints — technical, timeline, dependencies?
  • Prior art — has this been attempted before?

3. Pull Context from Connected Tools

If the project has integrations available:

  • GitHub Issues (the default tracker) — search for related issues, epics, or features in the project's repo. Teams using other trackers (Linear, Jira) can substitute the equivalent search.
  • Notion / Confluence — search for related research, specs, or design docs
  • Figma — pull related mockups or wireframes

4. Generate the PRD

Resolve the PRD template via the portfolio helper so adopter overrides win when present:

Read the full file on GitHub · 102 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. 7d ago First seen · 102 lines · 25 tokens per session scan A 0ae8edef56cd

Subscribe to this mod's changes

write-spec is a skill published in the GitHub repository me2resh/apexyard (498 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 866 once invoked, about $0.0001 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