profiles-hash-repin

profiles-hash-repin is a skill for Claude Code from cookys/autopilot. It costs 71 tokens per session (1,321 once invoked), scanned A, original, MIT.

A procedure for updating profile hash records after changing the text of two autopilot workflow files.

In plain words
What is it for?
Use it to recalculate hashes, regenerate migration data, update catalog totals, copy profile files, and run the required validation tests.
Why use it?
It keeps rule inventories, migrations, catalogs, mirrored profiles, and test expectations synchronized after prose changes.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions Codex.

Part of the autopilot plugin — 33 skills, 3 agents, 7 hooks shipped together

Good fit Use it to recalculate hashes, regenerate migration data, update catalog totals, copy profile files, and run the required validation tests.

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

Made for: Claude Code.

Or install autopilot, the plugin that ships this one along with the rest of its 33 skills, 3 agents, 7 hooks.

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 profiles-hash-repin

README.md
[![agentmods](https://agentmods.dev/badge/skills/cookys/autopilot/profiles-hash-repin.svg)](https://agentmods.dev/skills/cookys/autopilot/profiles-hash-repin)
Your own site
<a href="https://agentmods.dev/skills/cookys/autopilot/profiles-hash-repin"><img src="https://agentmods.dev/badge/skills/cookys/autopilot/profiles-hash-repin.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,321 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.00071 $0.01321
Opus 5 $0.00036 $0.00660
Sonnet 5 $0.00014 $0.00264
Haiku 4.5 $0.00007 $0.00132

Measured today against content hash 0fa07e124894, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

profiles-hash-repin 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 today.

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.

.claude/skills/profiles-hash-repin/SKILL.md · 58 lines

How it starts

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

profiles hash 鏈重釘(dev-flow / ceo-agent 文字改動後)

rule-inventory 把兩個 skill 的每一行 prose 當 rule 清點;改動任何一行都會讓 build-profile-payload.js catalog --check 連環紅。正確順序(2026-08-20 三次紅試出;前例 0f7568fc):

  1. profiles/rule-inventory.json:該 source 的 sha256 換新檔 hash;segments[] 的 start/end_line 依插入點位移;duplicate_rule_sets[] 的 owner 與 aliases 行號也要位移(最易漏)。
  2. node scripts/build-profile-payload.js migration --out <scratch> 重生 migration(拒絕覆寫, 先寫 scratch 再 cp 回 profiles/rule-migration.json)。rule 數會變(每行 prose = 一條 rule)。
  3. profiles/profile-catalog.json:更新 inventory_sha256rule_migration_sha256category_totals(從新 migration 重導出;obsolete: 0 鍵要保留)。
  4. catalog --check 綠後,三檔 cp 到 platforms/codex/plugin/profiles/
  5. 測試釘值:profile-context-isolation / codex-plugin-package 的 canonical_rules 數字是 drift guard,裁決過的有意變更才改;guided-compatibility 的 frozen baseline 數字不動 (凍結快照;新增 rule 不需 disposition,disposition 只管 baseline rule 消失)。
  6. per-skill ratchet:CHANGELOG 該版節要有 prose-justification: 行,否則 preflight gate 8 擋。

驗證:catalog --check rc=0 + 兩個測試檔串行綠 + 全套件。

改寫既有行(不是純新增)時多一步(2026-09-07 ladder P4 試出)

把 ceo-agent/dev-flow 的某一行改字(而非插入新行),那一行若在 P0 guided baseline 裡,catalog --check 會報 PROFILE_GUIDED_COMPATIBILITY_DRIFT: guided compatibility lost baseline rule <content_hash>。處置:

  1. migration 找那個 hash 是哪一行:git show HEAD:profiles/rule-migration.jsonmappings[].source.content_hash
  2. migration 找改寫後那行(與伴隨新增行)的 content_hash 當 successor。
  3. profiles/guided-baseline-dispositions.json 追加 {content_hash, disposition:"rewritten", successor_hashes:[…], rationale} (rationale 要寫 P0 路徑:行號、改了什麼、沒改什麼);removed 才不帶 successor。
  4. profile-catalog.jsonguided_dispositions_sha256 換成新檔 sha;四檔(inventory/migration/catalog/dispositions)cp 到 codex mirror。
  5. checker 一次只報一條 lost rule——補一條、重跑、再補,直到 rc=0。

另:migration 的 category 總數從 mappings[].category 數;canonical_rule_count 就是測試釘值要改的數字。

附:新增一個 hook 時的釘值清單(2026-09-07 dirty-protected-paths 試出)

Read the full file on GitHub · 58 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. today Changed · +34 lines 0fa07e124894
  2. 8d ago First seen · 24 lines · 71 tokens per session scan A dbd6127ccf57

Subscribe to this mod's changes

profiles-hash-repin is a skill published in the GitHub repository cookys/autopilot (11 stars, last pushed today), licensed MIT. It adds 71 tokens to every session and 1,321 once invoked, about $0.0004 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

prowler-commit

Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.

prowler-cloud/prowler · 33 tokens

gh-auth-isolation

Safely manage multiple GitHub identities (EMU + personal) in agent workflows.

github/gh-aw · 20 tokens

comet-github

A routing guide for Comet-related GitHub work. It directs requests about pull requests, issues, CI failures, ideas, and fixes to the appropriate review or implementation process.

rpamis/comet · 72 tokens

github-skill

Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.

zeenie-ai/OpenCompany · 51 tokens

codex-autoresearch

Run autonomous, measurable experiments in a Git repository: change one hypothesis, verify a numeric metric, keep improvements, and revert failures. Use when the user wants Codex to keep iterating toward a numeric target in the foreground or as a detached background run. Do not use for ordinary one-shot coding…

leo-lilinxiao/codex-autoresearch · 80 tokens

changelog-composer

Generates structured changelogs and release notes from git history and PRs, classifying breaking changes, features, fixes, performance, docs. Triggers on: "generate changelog", "write release notes", "what changed since", "prepare release", "release notes for", "diff since tag".

Mathews-Tom/armory · 67 tokens