aigon-research-spec-revise

aigon-research-spec-revise is a command for Claude Code, Cursor from jayvee/aigon. It costs 0 tokens per session (461 once invoked), scanned A, a copy of research-spec-revise, Apache-2.0.

An author-side command that reads pending reviews of a research specification, decides what to accept, and records the response in Git.

In plain words
What is it for?
Processing review commits, updating the research spec when needed, and committing the acknowledgement.
Why use it?
It gives the research author a defined way to reconcile reviewer feedback without losing the review history.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

Good fit Processing review commits, updating the research spec when needed, and committing the acknowledgement.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jayvee/aigon/aigon-research-spec-revise
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.

Clone the repo
git clone --depth 1 https://github.com/jayvee/aigon

Made for: Claude Code, Cursor.

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 aigon-research-spec-revise

README.md
[![agentmods](https://agentmods.dev/badge/commands/jayvee/aigon/aigon-research-spec-revise/github.svg)](https://agentmods.dev/commands/jayvee/aigon/aigon-research-spec-revise)
Your own site
<a href="https://agentmods.dev/commands/jayvee/aigon/aigon-research-spec-revise"><img src="https://agentmods.dev/badge/commands/jayvee/aigon/aigon-research-spec-revise/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 aigon-research-spec-revise

Your own site · 80×15
<a href="https://agentmods.dev/commands/jayvee/aigon/aigon-research-spec-revise"><img src="https://agentmods.dev/badge/commands/jayvee/aigon/aigon-research-spec-revise.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 461 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 88% copy Near-identical to another mod 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.00000 $0.00461
Opus 5 $0.00000 $0.00230
Sonnet 5 $0.00000 $0.00092
Haiku 4.5 $0.00000 $0.00046

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

Security

Grade A, and why

aigon-research-spec-revise 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.

Origin

This is a copy

88% identical to research-spec-revise — 10 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/commands/aigon-research-spec-revise.md · 61 lines

What it actually says

aigon-research-spec-revise

You are the author-side agent. Review all pending spec-review: commits on the research spec, decide what to keep, and land one acknowledgement commit.

The continuity strategy is selected by Aigon before launch. Do not choose a provider or resume strategy yourself. When resumed, reconcile remembered paths against the current checkout and emit the requested continuation ready/fallback checkpoint before editing.

Resolve the spec

SPEC_PATH=$(find docs/specs/research-topics -maxdepth 2 \( -name "research-<name>-*.md" -o -name "research-<name>.md" \) | head -1)
test -n "$SPEC_PATH" && echo "$SPEC_PATH"

If SPEC_PATH is empty, stop and report that the research spec could not be resolved.

Find pending review commits

LAST_ACK=$(git log --follow --format=%H -n 1 --grep='^spec-review-check:' --grep='^spec-revise:' -- "$SPEC_PATH")
echo "last_ack=${LAST_ACK:-none}"
git log --follow --format='%H %s' -- "$SPEC_PATH"

Pending reviews are commits whose subject starts with spec-review: and are newer than LAST_ACK if LAST_ACK exists.

For every pending review commit:

git show <sha> -- "$SPEC_PATH"
git show -s --format=%B <sha>

Decide in one pass

Process all pending reviewers together. Accept, revert, or modify the reviewed changes, then leave the spec in its final state.

Acknowledge with one commit

git add "$SPEC_PATH"
git commit --allow-empty -m "spec-revise: research <name> — <decision summary>" -m "reviewed: <comma-separated reviewer ids>

Decision:
- <accept|revert|modify summary>

Notes:
- <important rationale>"
aigon research-spec-revise-record <name>

Report

Tell the user:

  1. Which pending reviews you processed.
  2. Whether you accepted, reverted, or modified the reviewed changes.
  3. Any follow-up edits you made to the spec.
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 · 61 lines · 0 tokens per session scan A b01b2a579311

Subscribe to this mod's changes

aigon-research-spec-revise is a command published in the GitHub repository jayvee/aigon (25 stars, last pushed 7d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 461 tokens. A static security scan graded it A with 0 findings. It is 88% identical to research-spec-revise, differing in 10 lines, and is treated as a copy.