Agmente: Skill for Codex

.agents/skills/upstream-protocol-drift-watch/SKILL.md

upstream-protocol-drift-watch is a skill for Codex from rebornix/Agmente. It costs 57 tokens per session (907 once invoked), scanned A, original, MIT.

A checking tool for detecting changes in the ACP and Codex upstream code repositories. It compares revisions to find protocol, application-programming-interface, or specification changes that could affect Agmente.

In plain words
What is it for?
Use it to fetch current upstream changes, inspect configured repositories, and produce a risk-rated report of possible regressions.
Why use it?
It helps catch compatibility problems after upstream updates, such as added, removed, or renamed methods.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

This is rebornix/Agmente's own configuration. It tells Codex how to work on Agmente itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Agmente configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rebornix/Agmente. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rebornix/Agmente/main/.agents/skills/upstream-protocol-drift-watch/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/rebornix/Agmente

Made for: 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 upstream-protocol-drift-watch

README.md
[![agentmods](https://agentmods.dev/badge/skills/rebornix/agmente/upstream-protocol-drift-watch/github.svg)](https://agentmods.dev/skills/rebornix/agmente/upstream-protocol-drift-watch)
Your own site
<a href="https://agentmods.dev/skills/rebornix/agmente/upstream-protocol-drift-watch"><img src="https://agentmods.dev/badge/skills/rebornix/agmente/upstream-protocol-drift-watch/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 upstream-protocol-drift-watch

Your own site · 80×15
<a href="https://agentmods.dev/skills/rebornix/agmente/upstream-protocol-drift-watch"><img src="https://agentmods.dev/badge/skills/rebornix/agmente/upstream-protocol-drift-watch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 907 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00057 $0.00907
Opus 5 $0.00028 $0.00453
Sonnet 5 $0.00011 $0.00181
Haiku 4.5 $0.00006 $0.00091

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

Security

Grade A, and why

upstream-protocol-drift-watch 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 9d 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.

.agents/skills/upstream-protocol-drift-watch/SKILL.md · 113 lines

How it starts

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

Upstream Protocol Drift Watch

Goal

Catch upstream ACP/Codex changes early, especially:

  • new RPC/API methods,
  • removed or renamed methods,
  • protocol/spec file changes that can cause Agmente regressions.

This skill is dynamic by default: always read current local repos and refs at runtime.

Inputs

Collect these from the user request when present:

  • optional from_ref and to_ref (for each repo, or shared),
  • whether to check codex, acp, or both.

If refs are not provided:

  1. Use HEAD..origin/main for each upstream repo.
  2. If origin/main is unavailable, use HEAD~1..HEAD.
  3. If HEAD~1 is unavailable, use HEAD..HEAD and report that no baseline exists.

Always fetch upstream remotes before scanning:

git -C <repo> fetch --all --prune

Required Runtime Sources

  1. Read repo-local path registry:
cat .agmente.paths
  1. Resolve:
  • AGMENTE_CODEX_REPO
  • AGMENTE_ACP_REPO
  1. Validate both paths are git repos before scanning.

Dynamic Scan Workflow

  1. Resolve diff range per repo.
  • Use user-provided refs if given.
  • Otherwise use HEAD..origin/main.
  • Always perform git fetch --all --prune before resolving refs and diff range.
  1. Collect changed files in protocol-relevant areas.
  • Codex focus paths:
    • codex-rs/app-server-protocol
    • codex-rs/app-server
  • ACP focus paths:
    • docs/schema
    • docs/protocol
    • docs/rfds
  1. Extract method-like token changes from patch.
  • Treat quoted/backticked values like foo/bar as method candidates.
  • Track added and removed candidates separately.
  1. Compare against locally supported methods.
  • Codex local method sources:
    • AppServerClient/Sources/AppServerClient/AppServerMethods.swift
    • AppServerClient/Sources/AppServerClient/AppServerEventParser.swift
  • ACP local method sources:
    • ACPClient/Sources/ACPClient/ACP/ACPMethods.swift
    • ACPClient/Sources/ACPClient/ACP/ResponseDispatcher.swift
  1. Build a risk score and severity.

Risk Scale

  • 0-19: none
  • 20-44: low
  • 45-74: medium
  • 75-100: high

Read the full file on GitHub · 113 lines

Files

What ships with it

1 file 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. 9d ago First seen · 113 lines · 57 tokens per session scan A 83f81fa6c88b

Subscribe to this mod's changes

upstream-protocol-drift-watch is a skill published in the GitHub repository rebornix/Agmente (542 stars, last pushed 3mo ago), licensed MIT. It adds 57 tokens to every session and 907 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.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

diagnose

Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.

emdash-cms/emdash · 43 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

byted-util-volcengine-detect-retry

An orchestration workflow for Volcengine Cloud Detect, a service that checks websites or network endpoints from test locations.

bytedance/agentkit-samples · 101 tokens