expect: Skill for Claude Code

.agents/skills/skill-writing/SKILL.md

skill-writing is a skill for Claude Code, Codex from millionco/expect. It costs 55 tokens per session (1,595 once invoked), scanned A, original, no licence file.

A guide for writing and improving agent skills, which are instruction files that teach an agent how to handle specific tasks.

In plain words
What is it for?
Use it to create or refactor SKILL.md files, investigate instruction-following problems, and apply test-driven development (TDD), where tests guide the work, to skills.
Why use it?
It helps make instructions clearer, easier for agents to follow, and less likely to be ignored or misunderstood.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

This is millionco/expect's own configuration. It tells Claude Code and Codex how to work on expect itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything expect configures →

Reuse

Borrowing it

Nothing to install: this file belongs to millionco/expect. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/millionco/expect/main/.agents/skills/skill-writing/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/millionco/expect

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-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/millionco/expect/skill-writing/github.svg)](https://agentmods.dev/skills/millionco/expect/skill-writing)
Your own site
<a href="https://agentmods.dev/skills/millionco/expect/skill-writing"><img src="https://agentmods.dev/badge/skills/millionco/expect/skill-writing/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 skill-writing

Your own site · 80×15
<a href="https://agentmods.dev/skills/millionco/expect/skill-writing"><img src="https://agentmods.dev/badge/skills/millionco/expect/skill-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,595 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.
Origin unknown 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.00055 $0.01595
Opus 5.5 $0.00022 $0.00638
Sonnet 5.5 $0.00011 $0.00319
Haiku 4.5 $0.00006 $0.00160

Measured 2mo ago against content hash 470cc599ccb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skill-writing 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 2mo 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.

.agents/skills/skill-writing/SKILL.md · 161 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 2mo ago First seen · 161 lines · 55 tokens per session scan A 470cc599ccb3

Subscribe to this mod's changes

skill-writing is a skill published in the GitHub repository millionco/expect (3,561 stars, last pushed 5mo ago), with no licence file. It adds 55 tokens to every session and 1,595 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

Other skills, from other repositories

plugin-test

A testing guide for Zhin.js plugins using Vitest, a JavaScript and TypeScript testing framework. It focuses on checking command and tool behavior, ordinary business logic, and the plugin package’s required structure.

zhinjs/zhin · 51 tokens

coding

Use when five specialized coding agents (linter, perf, refactor, security, test) that enforce quality gates across the development lifecycle. From lint enforcement through performance profiling, refactoring, security auditing, and test coverage. Use when working with coding agents.

oyi77/1ai-skills · 54 tokens

test-agent

Use when writing comprehensive test suites covering happy paths, error paths, edge cases, and integration points.

oyi77/1ai-skills · 23 tokens

building

Install dependencies and run the test/lint/typecheck gate for a change inside the sandbox — package-manager detection, install-first, and (when implementing) TDD discipline. Use when implementing, fixing, or verifying code in a pre-cloned repo.

nearform/lastlight · 52 tokens

feature-development-workflow

Orchestrate end-to-end feature development from requirements through implementation, testing, and review. Use when: (1) planning feature development stages, (2) coordinating multi-agent feature workflows, (3) understanding SDLC phases for new features.

thapaliyabikendra/ai-artifacts · 54 tokens

e2e-testing-patterns

Master end-to-end testing with Playwright to build reliable test suites that catch bugs, improve confidence, and enable fast deployment. Use when implementing E2E tests, debugging flaky tests, or establishing testing standards.

thapaliyabikendra/ai-artifacts · 49 tokens