cc-thingz AGENTS.md

cc-thingz AGENTS.md is an instructions file for Codex, OpenCode from alexei-led/cc-thingz. It costs 2,377 tokens per session, scanned A, original, MIT.

Repository instructions for cc-thingz, a coding companion containing portable skills, agents, and typed hooks for several coding tools. They cover building, formatting, checks, tests, and writing agent instructions.

In plain words
What is it for?
Use them when developing cc-thingz, running its build or CI commands, checking generated files, or authoring agent, skill, and hook content.
Why use it?
They explain how to build and validate the repository and how its instruction files should be written and formatted.

Instructions file for CodexOpenCode

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 instructions/alexei-led/cc-thingz/agents-md
Clone the repo
git clone --depth 1 https://github.com/alexei-led/cc-thingz

Made for: Codex, OpenCode.

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 cc-thingz AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/alexei-led/cc-thingz/agents-md.svg)](https://agentmods.dev/instructions/alexei-led/cc-thingz/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/alexei-led/cc-thingz/agents-md"><img src="https://agentmods.dev/badge/instructions/alexei-led/cc-thingz/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,377 This file is loaded in full into every session.
When invoked 2,377 The same file — it is already loaded in full.
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.02377 $0.02377
Opus 5 $0.01189 $0.01189
Sonnet 5 $0.00475 $0.00475
Haiku 4.5 $0.00238 $0.00238

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

Security

Grade A, and why

cc-thingz AGENTS.md 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.

AGENTS.md · 121 lines

How it starts

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

cc-thingz — Coding Companion

Portable skills, agents, and typed hooks for Pi, Claude Code, Codex CLI, Copilot, Cursor, and Grok — code review, language tooling, infrastructure, testing, and developer utilities. Gemini is retired.

Build

make build    # render package targets and typed hooks with Agent Bundler
make fmt      # auto-fix ruff + shfmt + markdownlint
make check    # fail on generated drift without rewriting dist
make ci       # lint + validate + check + test + test-ts

make build requires an installed agbun with package, flat per-agent sidecars, declared hook environments, bundled Pi dependencies, native Pi resources, and Codex project-agent profiles. Builds need sandbox disabled because the uv cache at ~/.cache/uv is restricted in the CC sandbox.

Writing Agent/Skill Instructions

LLM signal hierarchy (MDEval benchmark + Perplexity research):

  • HIGH: # headers, bullet/numbered lists, code blocks — always use
  • MEDIUM: **bold** — ≤15% of prose lines; use for bullet labels (- **Label**: desc) and critical keywords only
  • LOW/zero: _italic_, --- horizontal rules, markdown tables, mermaid/ASCII diagrams — never use

Specific rules:

  • **Label:** on its own line → ### Label (real header, not bold pseudo-header)
  • **Sentence.** followed by prose → strip bold, keep as plain sentence
  • --- before ## or **bold → remove (redundant section break)
  • --- before ```` fence → keep (it's template content showing proposal format)

Run format lint: make lint-instructions or use the /reviewing-instructions skill for full scoring.

Agents

Three role agents plus one utility agent. A role is a capability envelope plus a reasoning stance no skill can supply. Domain procedure and output format live in skills; language specifics live in each skill's references/<lang>.md. Role × skill × references compose — language is not a routing key. Consolidated 39 → 3 roles (see docs/agent-audit-2026-05-16.md and the executed plan in docs/plans/completed/). runner is the cheap utility lane for simple bounded tasks, not a fourth role.

Read the full file on GitHub · 121 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 · 121 lines · 2,377 tokens per session scan A f88b397e0b8b

Subscribe to this mod's changes

cc-thingz AGENTS.md is an instructions file published in the GitHub repository alexei-led/cc-thingz (35 stars, last pushed 1mo ago), licensed MIT. It adds 2,377 tokens to every session, about $0.0119 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-30.