agented

agented is a skill for Claude Code, Codex from frane/agented. It costs 14 tokens per session (9,569 once invoked), scanned A, original, Apache-2.0.

A stateful command-line editor for coding agents that keeps a versioned history of file edits and notes.

In plain words
What is it for?
Use it for multi-step file edits, durable notes for later agents, and safe multi-file refactors that should either all apply or all be undone.
Why use it?
It lets an agent recover earlier versions, attach notes to files, and apply related changes together instead of losing track across multiple editing steps.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument; mentions Claude Code; mentions Codex.

Good fit Use it for multi-step file edits, durable notes for later agents, and safe multi-file refactors that should either all apply or all be undone.

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

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 agented

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/frane/agented/skill"><img src="https://agentmods.dev/badge/skills/frane/agented/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,569 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 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.00014 $0.09569
Opus 5.5 $0.00006 $0.03828
Sonnet 5.5 $0.00003 $0.01914
Haiku 4.5 $0.00001 $0.00957

Measured 1mo ago against content hash ff9da5140ed2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agented 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 1mo 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

Copies of this mod

1 near-identical copy found in the catalogue:

  • agented — 100% identical, 0 lines differ
internal/skill/SKILL.md · 471 lines

How it starts

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

agented (binary: ae)

ae is a stateful editor controlled by command-line verbs. State persists across sessions in a SQLite-backed workspace (.agented/state.db). Every edit is versioned in an undo tree — you can branch, jump to any past state, and never lose work.

ae not on PATH? npx -y agented <verb> ... runs the identical binary — the npm launcher downloads the platform build from GitHub releases on first use (sha256-verified) and caches it, so later calls are instant and offline. Every command in this document works verbatim with npx -y agented in place of ae. Prefer a real install for daily use (brew install frane/tap/agented or npm i -g agented).

Use this tool when

  • You need to edit one or more files in a repo across multiple steps and want a durable history.
  • You want to leave notes for your future self or other agents (annotations) attached to specific files.
  • You want safe multi-file refactors with all-or-nothing semantics (transactions).

Don't use this tool for

  • Reading repo overview / architecture (use plain cat/grep).
  • Single one-shot edits where you don't care about history (use the platform's built-in editor).
  • Anything that isn't text (no binary file support).

How the editor enforces correctness for you

Every read returns a state_token. Pass it to your next write with --expect. If the file changed under you, the write is rejected (exit code 3) and the response includes the new content and the new token. Retry with the new token.

You don't need to "view before write" — the editor will tell you if your assumption is stale. You don't need to "branches before undo" — undo's error includes the branches if there's ambiguity. You don't need to "status before edit" — every operation's response carries the state you'd want to check.

The default is concurrency.require_expect: warn: writes without --expect succeed and emit a stderr warning. For multi-agent setups, set require_expect: writes in .agented/config.json to enforce strict pre-write checks. In either mode, an actual conflict (a stale --expect value) is rejected with exit 3 and the recovery payload — the tree never silently loses work.

Read the full file on GitHub · 471 lines

Files

What ships with it

5 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. 1mo ago Changed ff9da5140ed2
  2. 2mo ago First seen · 471 lines · 14 tokens per session scan A 9866523e990f

Subscribe to this mod's changes

agented is a skill published in the GitHub repository frane/agented (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 14 tokens to every session and 9,569 once invoked, about $0.0001 per session on Opus 5.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

agented compared with skills from other repositories

agented next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentedfrane/agentedSkill51mo agoApache-2.0A14Claude Code, Codex
gh-skillcli/cliSkill47ktodayMITA41Claude Code, Codex
printing-press-amendmvanhorn/cli-printing-pressSkill4.9kyesterdayMITA222Claude Code
printing-press-importmvanhorn/cli-printing-pressSkill4.9kyesterdayMITA104Claude Code
llm-as-judge-evaluationsynthetic-sciences/openscienceSkill4.3k2d agoApache-2.0A56Claude Code, Codex
octo-driveMininglamp-OSS/octo-cliSkill922yesterdayApache-2.0A55Claude Code, Codex
octo-mailMininglamp-OSS/octo-cliSkill922yesterdayApache-2.0A32Claude Code, Codex