forge-sync

forge-sync is a skill for Claude Code, Codex from aneja5/forge-skills. It costs 66 tokens per session (4,393 once invoked), scanned A, original, MIT.

Use when checking if .forge/ artifacts are stale after a change to requirements, architecture, or any upstream artifact. Use before running /build, /review, or /ship to confirm the artifact chain is consistent. Use when the user says "is anything out of date" or "what needs to be regenerated".

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/aneja5/forge-skills/forge-sync
Any agent
npx skills add aneja5/forge-skills --skill forge-sync
Clone the repo
git clone --depth 1 https://github.com/aneja5/forge-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/aneja5/forge-skills/forge-sync.svg)](https://agentmods.dev/skills/aneja5/forge-skills/forge-sync)
Your own site
<a href="https://agentmods.dev/skills/aneja5/forge-skills/forge-sync"><img src="https://agentmods.dev/badge/skills/aneja5/forge-skills/forge-sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,393 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00066 $0.04393
Opus 5 $0.00033 $0.02197
Sonnet 5 $0.00013 $0.00879
Haiku 4.5 $0.00007 $0.00439

Measured today against content hash d323093a20e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

forge-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 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.

skills/forge-sync/SKILL.md · 276 lines

How it starts

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

forge-sync

Overview

Scan every .forge/ artifact for <!-- forge:meta --> headers, cross-reference against references/forge-dependency-graph.md, and produce .forge/sync-report.md listing stale artifacts and the topologically-sorted cascade to re-sync. Pairs with every artifact-producing skill — forge-sync does not regenerate anything; it tells you what to re-run.

When to Use

  • A change landed in an upstream artifact (PRD edited, architecture updated, contracts revised) and downstream artifacts may be stale
  • Before /build, /review, or /ship — confirm the chain is consistent
  • After a teammate's PR touches .forge/ — verify your local view is in sync
  • User asks "is anything out of date" / "what needs to be regenerated" / "is the chain consistent"

When NOT to Use

  • No .forge/ directory exists yet — nothing to sync
  • Single greenfield session where no artifacts have been produced
  • The user just wants to read an artifact, not check its freshness

Common Rationalizations

Rationalization Rebuttal
"The change was small, downstream is probably fine" Small PRD changes cascade into contract mismatches that surface as bugs during build.
"I'll sync later before shipping" Stale contracts mean /review validates against outdated interfaces. The mismatch is invisible until production.
"Only the architecture changed, tasks are still valid" Architecture changes invalidate task file-lists and dependency ordering.
"I just want to update one artifact" Partial syncs leave the chain inconsistent. Run the full cascade.
"I'll trust the timestamps in memory" Memory lies. Read the headers; they're the source of truth.

Red Flags

  • architecture.md references modules not in .forge/contracts/
  • tasks.yaml references contracts that don't exist on disk
  • PRD describes features not in architecture
  • generated_at timestamps show downstream older than upstream
  • generated_at strings are not UTC (no Z suffix, or contain +/- offset)
  • An artifact's on-disk content sha256 doesn't match its stored content_hash (hand-edited after generation)
  • Multiple .forge/ artifacts with no forge:meta headers (untracked → run /forge-migrate)
  • User running /build without checking sync first

Read the full file on GitHub · 276 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 First seen · 276 lines · 66 tokens per session scan A d323093a20e5

Subscribe to this mod's changes

forge-sync is a skill published in the GitHub repository aneja5/forge-skills (3 stars, last pushed 3mo ago), licensed MIT. It adds 66 tokens to every session and 4,393 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-09-03.

Related

Other skills, from other repositories

lottie-design

Search, fetch, and integrate free Lottie animations into React, React Native, Vue, Svelte, Angular, Flutter, and Vanilla web projects. Use when the user asks for any Lottie/dotLottie/animation work — loaders, success checkmarks, splash screens, empty states, onboarding, micro-interactions. Triggers on keywords like…

enegaltech/lottie-marketplace · 111 tokens

cesiumjs-camera

CesiumJS camera control - Camera, flyTo, lookAt, setView, ScreenSpaceCameraController, CameraEventAggregator, flight animation. Use when positioning the camera, creating flyTo animations, constraining user navigation, tracking entities, or converting between screen and world coordinates.

CesiumGS/cesiumjs-skills · 61 tokens

cesiumjs-core-utilities

CesiumJS core utilities and networking - Resource, Color, Event, Request, RequestScheduler, error handling, helper functions, feature detection. Use when fetching remote data, managing HTTP requests, working with colors, handling events, debugging errors, or using utility functions like defined, clone, or…

CesiumGS/cesiumjs-skills · 69 tokens

cesiumjs-materials-shaders

CesiumJS materials and post-processing — Material, Fabric JSON, MaterialAppearance, ImageBasedLighting, PostProcessStage, PostProcessStageLibrary, bloom, depth of field, ambient occlusion, FXAA, tonemapping, BlendingState. Use when defining Fabric materials for entities or primitives, configuring PBR image-based…

CesiumGS/cesiumjs-skills · 83 tokens

github-pr-creation

Creates GitHub Pull Requests with automated validation and task tracking. Use when user wants to create PR, open pull request, submit for review, or check if ready for PR. Analyzes commits, validates task completion, generates Conventional Commits title and description, suggests labels. NOTE - for merging existing…

fvadicamo/dev-agent-skills · 75 tokens

design-to-code-check

Check alignment between a specific design specification and its code implementation — a focused, single-component or single-screen comparison. Trigger when someone says: does this match the design, check implementation, design code alignment, what's different between the design and the build, spec check…

murphytrueman/design-system-ops · 95 tokens