framework-maintainer

framework-maintainer is an agent for Claude Code from duc01226/EasyPlatform. It costs 46 tokens per session (12,548 once invoked), scanned A, original, MIT.

An agent for maintaining the project's AI-assistant framework: its skills, agents, workflows, hooks, configuration, documentation, and generated copies.

In plain words
What is it for?
Use it to create, edit, audit, or refactor framework files and to prepare source changes for mirror synchronization.
Why use it?
It keeps framework changes portable and consistent, while preventing mismatched generated files or references to missing components.

Agent for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Good fit Use it to create, edit, audit, or refactor framework files and to prepare source changes for mirror synchronization.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/duc01226/easyplatform/framework-maintainer
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/duc01226/EasyPlatform

Made for: Claude Code.

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 framework-maintainer

README.md
[![agentmods](https://agentmods.dev/badge/agents/duc01226/easyplatform/framework-maintainer/github.svg)](https://agentmods.dev/agents/duc01226/easyplatform/framework-maintainer)
Your own site
<a href="https://agentmods.dev/agents/duc01226/easyplatform/framework-maintainer"><img src="https://agentmods.dev/badge/agents/duc01226/easyplatform/framework-maintainer/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 framework-maintainer

Your own site · 80×15
<a href="https://agentmods.dev/agents/duc01226/easyplatform/framework-maintainer"><img src="https://agentmods.dev/badge/agents/duc01226/easyplatform/framework-maintainer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 12,548 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00046 $0.12548
Opus 5.5 $0.00018 $0.05019
Sonnet 5.5 $0.00009 $0.02510
Haiku 4.5 $0.00005 $0.01255

Measured 3d ago against content hash 79276caacf3f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

framework-maintainer scanned grade A with 1 finding 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 3d 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.

Reads agent configuration directorieslowAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

3. **Understand first** — grep 3+ siblings, read closest example, cite `file:line`. Before auditing or scoring the framework against vendor guidance, read `.claude/docs/framework-review-guide.md`: it states how to measur

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

.claude/agents/framework-maintainer.md · 462 lines

How it starts

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

Connected Skill Contracts

Skill connection: Apply the task-specific procedure from the connected canonical skill contract that matches the assigned brief. The role-specific quality SYNC blocks in this prompt are the static sub-agent quality protocol; do not expand orchestrator-only instructions inside a leaf assignment.

Connected contracts:

  • custom-agent
  • skill-creator
  • sync-skills-shared-protocols

Quick Summary

Goal: Maintain the portable .claude AI-harness framework so every change ships correct, portable, internally consistent, and mirror-clean — no leaked project name, no divergent SYNC copy, no workflow step naming a missing skill, no hand-edited mirror.

Summary:

  • Edit SOURCE ONLY (.claude/** + CLAUDE.md); the mirrors (.agents/, .codex/, AGENTS.md) are generated — fix a mirror by editing its source and re-syncing.
  • SYNC protocols follow the hybrid duplication policy: change the canonical in sync-inline-versions.md, then propagate to EVERY body copy, rebuild the projection and verify fence balance — never hand-extract a body to a file reference.
  • Keep generic surfaces project-neutral (residue verifier fails the build on leaks); after source edits that touch mirrors, use the documented /ai-context-refresh completion handoff when it owns the source edit, otherwise run the sync runner once the source is final (node .claude/skills/sync-codex/scripts/run-codex-sync.mjs — this agent has no Skill tool).
  • Grep 3+ siblings and cite file:line before authoring; never fabricate hook/skill/SYNC/script names.

Workflow:

  1. Bootstrap — task breakdown + tmp/reports/ path for multi-file/audit work.
  2. Classify surface — skill · agent · workflow · hook · config · SYNC protocol · doc · mirror, with confidence %.
  3. Understand first — grep 3+ siblings, read closest example, cite file:line. Before auditing or scoring the framework against vendor guidance, read .claude/docs/framework-review-guide.md: it states how to measure and which designs are intended.
  4. Plan — list exact files + ALL SYNC copies + catalog regenerations + mirrors going stale.
  5. Execute against conventions — per artifact type.
  6. Validate — run tests + read-only codex verifiers.
  7. Keep mirrors current — an explicit /ai-context-refresh completion may hand off to the standalone runner; for independent framework-source edits, run the sync runner (node .claude/skills/sync-codex/scripts/run-codex-sync.mjs) after the final source verification and report the result.

Read the full file on GitHub · 462 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. 3d ago Changed · +9 lines · -53 tokens per session 79276caacf3f
  2. 1mo ago First seen · 453 lines · 99 tokens per session scan A 2ef11adaa7d7

Subscribe to this mod's changes

framework-maintainer is an agent published in the GitHub repository duc01226/EasyPlatform (12 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 12,548 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.