cadence-first

cadence-first is a skill for Claude Code, Codex from bearded-illirian/trailmark. It costs 79 tokens per session (2,342 once invoked), scanned A, original, MIT.

A workflow selector that assigns each task section a level of process: full, partial, or plan-focused. A task section is one defined part of a larger coding task.

In plain words
What is it for?
Use it to choose whether a batch of sections needs understanding, solution research, planning, execution, and completion reporting, or only some of those steps.
Why use it?
It prevents every section from receiving the same amount of preparation when some need more investigation than others. It records the chosen sequence for later steps without executing the work itself.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); $skill-name invocation.

Good fit Use it to choose whether a batch of sections needs understanding, solution research, planning, execution, and completion reporting, or only some of those steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bearded-illirian/trailmark/cadence-first
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 bearded-illirian/trailmark --skill cadence-first
Clone the repo
git clone --depth 1 https://github.com/bearded-illirian/trailmark

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 cadence-first

README.md
[![agentmods](https://agentmods.dev/badge/skills/bearded-illirian/trailmark/cadence-first/github.svg)](https://agentmods.dev/skills/bearded-illirian/trailmark/cadence-first)
Your own site
<a href="https://agentmods.dev/skills/bearded-illirian/trailmark/cadence-first"><img src="https://agentmods.dev/badge/skills/bearded-illirian/trailmark/cadence-first/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 cadence-first

Your own site · 80×15
<a href="https://agentmods.dev/skills/bearded-illirian/trailmark/cadence-first"><img src="https://agentmods.dev/badge/skills/bearded-illirian/trailmark/cadence-first.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,342 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.00079 $0.02342
Opus 5 $0.00039 $0.01171
Sonnet 5 $0.00016 $0.00468
Haiku 4.5 $0.00008 $0.00234

Measured 6d ago against content hash 7056b47d919f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

cadence-first 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 6d 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.

adapters/codex/.agents/skills/cadence-first/SKILL.md · 252 lines

How it starts

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

Cadence-First Protocol

Assigns one of three tiers per block:

  • Tier 1 Fullflow-first → library-first → plan-first → execute → ship-first
  • Tier 2 Partiallibrary-first → plan-first → execute → ship-first
  • Tier 3 Plan-focusedplan-first → execute → ship-first

Rules live in CADENCE_HEURISTICS.md (colocated). This SKILL is the executor; the manifest is the source of truth, read conditionally.

Does NOT execute the block itself. Decides cadence, then hands off.


Step 0 — Check task context

Are {log_dir} and {slug} known in the current session?

If yes → continue. If no → list latest task folders, ask which is current, set {slug} and {log_dir}. Cannot skip — without {log_dir} the artifact cannot be saved.


Step 1 — Parse invocation mode

1.1 Detect standalone vs batch

Signal Mode
ARGUMENTS has task_id=X block_nums=[...] Standalone
Invoked from generator context (parent inherits state) Batch
No args, no context Standalone (ask user)

1.2 Extract parameters

Standalone: parse task_id, block_nums from ARGUMENTS. Batch: inherit from parent. If missing → ask.

1.3 Anti-recursion guard

If task_id == {slug} (framework session's own task) → warn and default to abort. Prevents writing into the framework session's own task.

1.4 Verify task exists

Query the routing DB for id={task_id}. Empty → abort with "task not found".


Step 2 — Read sources (minimal by default)

2.1 Read target task_blocks

sqlite3 {routing_db} \
  "SELECT block_num, title, type, atom_type, status, recommended_cadence
   FROM task_blocks
   WHERE task_id='{target_task}' AND block_num IN ({block_nums_csv})
   ORDER BY block_num"

Defensive column check: PRAGMA table_info(task_blocks) | grep recommended_cadence. Column exists → write_to_db=true. Missing → markdown only.

2.2 Read target task.md

Extract task type/scope, ## Blocks table if present, HIGH-risk tags.

Read the full file on GitHub · 252 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago Changed 7056b47d919f
  2. 10d ago First seen · 252 lines · 79 tokens per session scan A 101f5dde32f5

Subscribe to this mod's changes

cadence-first is a skill published in the GitHub repository bearded-illirian/trailmark (19 stars, last pushed 8d ago), licensed MIT. It adds 79 tokens to every session and 2,342 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-08-30.

Related

Other skills, from other repositories

mission-control

Interact with Mission Control — AI agent orchestration dashboard. Use when registering agents, managing tasks, syncing skills, or querying agent/task status via MC APIs.

builderz-labs/mission-control · 34 tokens

afrexai-compliance-engine

Your AI compliance officer. Guides startups and scale-ups through SOC 2, ISO 27001, GDPR, HIPAA, and PCI DSS — from zero to audit-ready. No consultants needed.

aAAaqwq/AGI-Super-Team · 0 tokens

after-sales

Use when managing post-purchase experience, building customer loyalty, or increasing repeat purchases.

aAAaqwq/AGI-Super-Team · 19 tokens

competitive-offer-architect

Design irresistible offer packages with real salary benchmarks, negotiation playbooks, and competitive counter-strategies. Co-designed with Siku (司库). Includes total compensation calculator, negotiation scripts, and BATNA analysis.

aAAaqwq/AGI-Super-Team · 48 tokens

bankr

AI-powered crypto trading agent and LLM gateway via natural language. Use when the user wants to trade crypto, check portfolio balances, view token prices, transfer crypto, manage NFTs, use leverage, bet on Polymarket, deploy tokens, set up automated trading, sign and submit raw transactions, or access LLM models…

aAAaqwq/AGI-Super-Team · 96 tokens

ai-viral-team-script-writing

A guide for writing short-video scripts and shot lists, including dialogue, camera direction, character actions, mood, music, hooks, and endings. A shot list describes what happens in each camera shot.

aAAaqwq/AGI-Super-Team · 169 tokens