fold: Skill for Claude Code

.claude/skills/console-sync/SKILL.md

console-sync is a skill for Claude Code from fold-run/fold. It costs 63 tokens per session (1,296 once invoked), scanned A, original, Apache-2.0.

A guide for managing the web console files included in the gateway. These files come from a separate fold-console repository and are stored in this project so installations can build without fetching extra source files.

In plain words
What is it for?
Use it to review or debug console updates, run the console consistency check, or move the pinned console commit.
Why use it?
It helps keep the included console synchronized with its pinned source and treats browser-executed code as a supply-chain change requiring review.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is fold-run/fold's own configuration. It tells Claude Code how to work on fold 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 fold configures →

Reuse

Borrowing it

Nothing to install: this file belongs to fold-run/fold. 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/fold-run/fold/main/.claude/skills/console-sync/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/fold-run/fold

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 console-sync

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fold-run/fold/console-sync"><img src="https://agentmods.dev/badge/skills/fold-run/fold/console-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,296 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.00063 $0.01296
Opus 5.5 $0.00025 $0.00518
Sonnet 5.5 $0.00013 $0.00259
Haiku 4.5 $0.00006 $0.00130

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

Security

Grade A, and why

console-sync 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 2mo 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.

.claude/skills/console-sync/SKILL.md · 88 lines

How it starts

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

The vendored console

gateway/console is build output from another repo, checked in. scripts/sync-console.sh vendors it from fold-run/fold-console at a pinned commit; gateway/console_source.go records that pin and is generated, never hand-edited.

Assets are checked in rather than fetched because the Go module proxy is fold's distribution channel: go run github.com/fold-run/fold/cmd/fold@latest builds from the proxy zip alone, which runs no generators and carries no submodule content. An unvendored tree is a //go:embed build failure for every user installing that way.

Review a bump as a supply-chain change. These assets execute in an operator's browser, same-origin with a page holding a live Bearer token in memory. That is why nothing here auto-merges.

Two different things are called console-sync

What it is When it runs
make console-check CI gate proving gateway/console still equals its pin — re-vendors and fails on any diff. Its own job, because it needs network. Every merge
.github/workflows/console-sync.yml Resolves fold-console main and opens a bump PR. Never merges. On demand (workflow_dispatch) — and as step 2 of /fold-release

console-check going red means someone hand-edited vendored assets, or the pin and the tree disagree. The fix is make sync-console and a review of what moved — never editing gateway/console directly, which is the one thing the gate exists to catch.

Reviewing a bump PR

  1. Read the upstream diff, not this one. The diff here is minified bundle output; reading it is not a review. Read src/ on the upstream commit range. Upstream CI rebuilds and fails on drift between src/ and dist/, so the bytes vendored here are entailed by that diff.
  2. Check the manifest. MANIFEST in scripts/sync-console.sh is the exact allowlist of files that may enter the binary — //go:embed takes the whole directory, so without it anything upstream's build emitted alongside (a source map, a second chunk, a stats file) would ship to every operator and be served under /console/. A bump that adds a file to the embedded set is a reviewed change here, and is also the shape a supply-chain injection would take. gateway/introspection_test.go asserts the same set from the other side, against the embedded FS.
  3. fonts/OFL.txt is not decoration. OFL 1.1 requires the licence accompany the Font Software, and these subsets are in every fold binary. It ships or the binary is out of compliance.
  4. An empty check list means "not run", never "passed". GitHub creates no workflow runs for branches pushed with GITHUB_TOKEN, so ci.yml never fires on a bot-opened bump PR. The workflow runs the manifest and API-path tests inline before opening it; push any commit to the branch to trigger the full suite before merging.
  5. Run the security-auditor agent over it before approving.

Read the full file on GitHub · 88 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. 2mo ago Changed · +1 tokens per session 2b1f71fb6207
  2. 2mo ago First seen · 88 lines · 62 tokens per session scan A 60e7ab8138c3

Subscribe to this mod's changes

console-sync is a skill published in the GitHub repository fold-run/fold (1 stars, last pushed 12d ago), licensed Apache-2.0. It adds 63 tokens to every session and 1,296 once invoked, about $0.0003 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

console-sync compared with skills from other repositories

console-sync next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
console-syncfold-run/foldSkill112d agoApache-2.0A63Claude Code
code-changesJanDeDobbeleer/oh-my-poshSkill24k2d agoMITA48Claude Code, Codex
printing-press-output-reviewmvanhorn/cli-printing-pressSkill4.9kyesterdayMITA102Claude Code
code-guidelines-godimetron/pi-goSkill2223d agoMITA124Claude Code, Codex
design-reviewdimetron/pi-goSkill2223d agoMITA30Claude Code, Codex
pi-loop-forensicsdimetron/pi-goSkill2223d agoMITA65Claude Code, Codex
vhs-e2e-gifdimetron/pi-goSkill2223d agoMITA106Claude Code, Codex