gate-record

gate-record is a skill for Claude Code, Codex from Stanshy/AgentHub. It costs 15 tokens per session (720 once invoked), scanned A, original, MIT.

A record-keeping workflow for adding a Gate review decision to a sprint development plan.

In plain words
What is it for?
It is for recording approval, rejection, or conditional approval for Gates G0 through G6.
Why use it?
It keeps approval decisions, dates, and review comments in the expected format so project status remains easy to track.

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/stanshy/agenthub/gate-record
Any agent
npx skills add Stanshy/AgentHub --skill gate-record
Clone the repo
git clone --depth 1 https://github.com/Stanshy/AgentHub

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 gate-record

README.md
[![agentmods](https://agentmods.dev/badge/skills/stanshy/agenthub/gate-record.svg)](https://agentmods.dev/skills/stanshy/agenthub/gate-record)
Your own site
<a href="https://agentmods.dev/skills/stanshy/agenthub/gate-record"><img src="https://agentmods.dev/badge/skills/stanshy/agenthub/gate-record.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 720 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.00015 $0.00720
Opus 5 $0.00008 $0.00360
Sonnet 5 $0.00003 $0.00144
Haiku 4.5 $0.00002 $0.00072

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

Security

Grade A, and why

gate-record 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.

.knowledge/company/skill-templates/gate-record/SKILL.md · 67 lines

What it actually says

Gate 審核紀錄

在開發計畫書第 10 節附加 Gate 審核紀錄。

使用方式

/gate-record <gate-type> <decision> [comment]

參數

  • $0: Gate 類型(G0 / G1 / G2 / G3 / G4 / G5 / G6)
  • $1: 決策(見下方格式規範)
  • $ARGUMENTS: 完整參數(含審核意見)

格式規範(系統解析依賴,務必遵守)

Gate 類型(第 1 欄)

必須為:G0 / G1 / G2 / G3 / G4 / G5 / G6

決策(第 3 欄)— 嚴格使用以下純文字值

決策值 對應系統狀態 說明
✅ 通過 approved 審核通過
❌ 駁回 rejected 審核不通過
⚠️ 附條件通過 approved 有條件通過

禁止使用其他格式(如純文字「通過」、英文「approved」)。 系統解析器 decisionToStatus() 依賴上述關鍵字判斷狀態。

日期(第 2 欄)

格式:YYYY-MM-DD(如 2026-03-26

審核意見(第 4 欄)

自由文字,簡述審核理由。

執行步驟

  1. 找到當前 Sprint 的 dev-plan: 使用 Glob tool 搜尋 proposal/sprint*-dev-plan.md,取最新的檔案路徑。

  2. 讀取 dev-plan 找到第 10 節的 Gate 紀錄表: 使用 Read tool 讀取上述 dev-plan 完整內容,找到 Gate 紀錄 表格區段。

  3. 找到對應的 Gate 行(如 | G0 |),更新該行而非新增:

    • 如果該行已有資料(日期/決策非空),直接覆蓋
    • 如果該行是空的(| G0 | | | |),填入資料
| $0 | {YYYY-MM-DD} | {決策值} | {審核意見} |
  1. 使用 Edit 工具精確替換該行,不改動其他內容。

範例

| G0 | 2026-03-26 | ✅ 通過 | 老闆確認需求,提案通過 |
| G1 | 2026-03-27 | ❌ 駁回 | 圖稿缺少手機版響應式設計 |
| G2 | 2026-03-28 | ✅ 通過 | 程式碼品質合格 |
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 · 67 lines · 15 tokens per session scan A 8dac31e9025c

Subscribe to this mod's changes

gate-record is a skill published in the GitHub repository Stanshy/AgentHub (200 stars, last pushed 4mo ago), licensed MIT. It adds 15 tokens to every session and 720 once invoked, about $0.0001 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.