torque:next

torque:next is a skill for Claude Code, Codex from mattjaikaran/torque. It costs 36 tokens per session (970 once invoked), scanned A, original, MIT.

A decision guide that examines project files, plans, version-control state, and current work to recommend exactly one next command. GSD and SP are project-workflow systems referenced by the guide.

In plain words
What is it for?
Use it to inspect the current development state and choose the next command in workflows involving GSD plans, handoffs, execution, verification, and code review.
Why use it?
It reduces uncertainty about what to do next and prioritizes active bugs, unfinished work, verification, and review steps.

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/mattjaikaran/torque/next
Any agent
npx skills add mattjaikaran/torque --skill next
Clone the repo
git clone --depth 1 https://github.com/mattjaikaran/torque

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 torque:next

README.md
[![agentmods](https://agentmods.dev/badge/skills/mattjaikaran/torque/next.svg)](https://agentmods.dev/skills/mattjaikaran/torque/next)
Your own site
<a href="https://agentmods.dev/skills/mattjaikaran/torque/next"><img src="https://agentmods.dev/badge/skills/mattjaikaran/torque/next.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 970 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.00036 $0.00970
Opus 5 $0.00018 $0.00485
Sonnet 5 $0.00007 $0.00194
Haiku 4.5 $0.00004 $0.00097

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

Security

Grade A, and why

torque:next 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.

skills/next/SKILL.md · 109 lines

How it starts

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

Torque Next Action

Analyze project state and recommend exactly ONE next command. Think of this as a GPS for your development workflow.

Procedure

Step 1: Gather state

Same as /torque:status — read .planning/, docs/plans/, git state. But don't output the full status. Focus on determining the current position.

Step 2: Decision tree

Work through this tree top-to-bottom. First match wins.

1. Is there an active bug or failing test?
   → `systematic-debugging`
   Why: Bugs block everything. Fix first.

2. Does .planning/ exist?
   ├─ YES (GSD project):
   │   a. Is there a HANDOFF.md in the active phase?
   │      → `/gsd:resume-work`
   │      Why: Paused work should be resumed before starting new work.
   │
   │   b. Is STATE.md showing a phase in "executing" with incomplete plans?
   │      → `/gsd:execute-phase` (continue)
   │      Why: Finish what you started.
   │
   │   c. Is a phase complete but not verified?
   │      → `/gsd:verify-work`
   │      Why: Verification before review.
   │
   │   d. Is a phase verified but not code-reviewed?
   │      → `requesting-code-review`
   │      Why: GSD has no review step — SP fills the gap.
   │
   │   e. Is a phase reviewed but not shipped?
   │      → `/gsd:ship` or `/gsd:pr-branch`
   │      Why: Ship cleanly — filters .planning/ commits from PR.
   │
   │   f. Are all phases in the current milestone complete?
   │      → `/gsd:audit-milestone` then `/gsd:complete-milestone`
   │      Why: Close out the milestone properly.
   │
   │   g. Is the next phase planned but not started?
   │      → `/gsd:execute-phase`
   │      Why: Plans exist, execute them.
   │
   │   h. Is the next phase discussed and spec'd but not planned?
   │      → `/gsd:plan-phase`
   │      Why: Context and spec exist, create plans.
   │
   │   h2. Is the next phase discussed but not spec'd (ambiguous scope)?
   │       → `/gsd:spec-phase`
   │       Why: Lock falsifiable requirements before planning.
   │
   │   i. Is there a next phase that hasn't been discussed?
   │      → `/gsd:discuss-phase`
   │      Why: Gather context before planning.
   │
   │   i2. Is this an AI/LLM phase that hasn't been designed?
   │       → `/gsd:ai-integration-phase`
   │       Why: Produce AI-SPEC.md with framework + eval strategy.
   │
   │   j. No more phases in roadmap?
   │      → `/gsd:new-milestone` or project complete
   │
   └─ NO (no .planning/):
       a. Does docs/plans/ exist with incomplete plans?
          → Re-read plans, continue execution
          Why: Pick up where you left off.
       
       b. No workflow state at all?
          → Ask: "New project or standalone feature?"
          → New project: `/gsd:new-project`
          → Existing codebase: `/gsd:map-codebase`
          → Quick standalone: `brainstorming`

Read the full file on GitHub · 109 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 · 109 lines · 36 tokens per session scan A db56dcfd039c

Subscribe to this mod's changes

torque:next is a skill published in the GitHub repository mattjaikaran/torque (6 stars, last pushed 4mo ago), licensed MIT. It adds 36 tokens to every session and 970 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

amazon-reviews-api-skill

This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express needs like getting reviews for Amazon product with ASIN B07TS6R1SF, analyzing customer feedback for a specific Amazon item, getting ratings and comments for a…

browser-act/skills · 124 tokens

amazon-competitor-analyzer

Scrapes Amazon product data from ASINs using browseract.com automation API and performs surgical competitive analysis. Compares specifications, pricing, review quality, and visual strategies to identify competitor moats and vulnerabilities.

browser-act/skills · 48 tokens

muapi-media-editing

Edit and enhance images and videos with AI via muapi.ai — prompt-based editing, upscaling, background removal, face swap, lipsync, video effects, and more.

SamurAIGPT/Generative-Media-Skills · 41 tokens

ctf-malware

Provides malware analysis and network traffic techniques for CTF challenges. Use when analyzing obfuscated scripts, malicious packages, custom crypto protocols, C2 traffic, PE/.NET binaries, RC4/AES encrypted communications, YARA rules, shellcode analysis, memory forensics for malware (Volatility malfind, process…

ljagiello/ctf-skills · 101 tokens

research

Conduct preliminary research on a topic and generate research outline. For academic research, benchmark research, technology selection, etc.

Weizhena/Deep-Research-skills · 25 tokens

ecommerce-landing-page

Audit and optimize e-commerce landing pages for conversion. CTA placement, trust signals, page structure, copy optimization, and A/B testing strategy for product pages, collection pages, and campaign landing pages.

nexscope-ai/eCommerce-Skills · 45 tokens