analyze-task

analyze-task is a skill for Claude Code, Codex from yusifeng/formax. It costs 55 tokens per session (1,073 once invoked), scanned A, original, MIT.

A planning guide for breaking down complex repository tasks before code is written. It examines goals, boundaries, affected interfaces, contracts, tests, and whether another agent is needed.

In plain words
What is it for?
Use it to prepare a short analysis brief for new features, cross-layer changes, architecture or data-model changes, and complex bugs.
Why use it?
It prevents coding from starting with unclear scope or missed impacts. It is meant for substantial changes, not tiny edits.

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/yusifeng/formax/analyze-task
Any agent
npx skills add yusifeng/formax --skill analyze-task
Clone the repo
git clone --depth 1 https://github.com/yusifeng/formax

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 analyze-task

README.md
[![agentmods](https://agentmods.dev/badge/skills/yusifeng/formax/analyze-task.svg)](https://agentmods.dev/skills/yusifeng/formax/analyze-task)
Your own site
<a href="https://agentmods.dev/skills/yusifeng/formax/analyze-task"><img src="https://agentmods.dev/badge/skills/yusifeng/formax/analyze-task.svg" alt="Measured on agentmods" 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,073 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 $0.00055 $0.01073
Opus 5 $0.00028 $0.00536
Sonnet 5 $0.00011 $0.00215
Haiku 4.5 $0.00006 $0.00107

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

Security

Grade A, and why

analyze-task 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 4d 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.

.codex/skills/analyze-task/SKILL.md · 164 lines

How it starts

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

Analyze Task

Use this skill before coding for non-trivial repository work:

  • new features
  • cross-layer changes
  • architecture or model changes
  • complex bugs
  • tasks that likely need multiple commits / reviews / loops

Do not use it for tiny local edits that can be implemented and verified immediately.

Purpose

Produce a short Analysis Brief that makes the task discussable and executable.

This skill is for:

  • clarifying the goal
  • defining non-goals
  • identifying what must be decided before coding
  • deciding whether a subagent is justified
  • preparing the task for a scope-alignment discussion
  • setting up the handoff to write-task-todo only after alignment

This skill is not for writing code and not for writing docs/todolist.md.

Core rules

  1. Prioritize structure before UI

    • think about canonical docs/contracts, data model, types, interfaces, repo/service/runtime boundaries before UI details
  2. Prefer explicit boundaries

    • say what is in scope and what is not
    • surface ambiguity instead of silently choosing
  3. Use subagents selectively

    • default is local analysis
    • use an xhigh explorer subagent only when the task is cross-layer, ambiguous, high-risk, or likely to benefit from an independent architectural read
    • if you use a subagent, give it a narrow question; do not outsource the entire solution
  4. Do not create a canonical doc yet unless the concept is already clearly stable and long-lived

    • early definitions belong in analysis/todo first
  5. Every analysis should end with an alignment state:

    • ready for alignment discussion
    • ready for write-task-todo after confirmation
    • or blocked on a single clarification

Required output

Produce a brief with these sections:

## Analysis Brief

### Goal

### Product Boundary

### Scope

### Non-goals

### Canonical-Doc Impact

### Data / Type / Interface First

### Layer Impact

### Risks / Ambiguities

### Need Subagent?

### Test Strategy

### Alignment Questions

### Ready for Todo?

Read the full file on GitHub · 164 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. 4d ago First seen · 164 lines · 55 tokens per session scan A d19e2a829053

Subscribe to this mod's changes

analyze-task is a skill published in the GitHub repository yusifeng/formax (192 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 1,073 once invoked, about $0.0003 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.