anvil-update-codes

anvil-update-codes is a skill for Claude Code, Codex from PNGTRID/AnvilWiki. It costs 69 tokens per session (898 once invoked), scanned A, original, MIT.

A tool for updating a game wiki’s reward-code page from codes supplied by the user. It keeps working and expired codes in structured page data.

In plain words
What is it for?
Use it to add new codes, mark codes expired, update rewards and dates, synchronize matching language versions, and check the resulting content.
Why use it?
It makes frequent code updates easier while preserving expired codes and avoiding guesses about whether a code is real or still valid.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to add new codes, mark codes expired, update rewards and dates, synchronize matching language versions, and check the resulting content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pngtrid/anvilwiki/anvil-update-codes
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 PNGTRID/AnvilWiki --skill anvil-update-codes
Clone the repo
git clone --depth 1 https://github.com/PNGTRID/AnvilWiki

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 anvil-update-codes

README.md
[![agentmods](https://agentmods.dev/badge/skills/pngtrid/anvilwiki/anvil-update-codes/github.svg)](https://agentmods.dev/skills/pngtrid/anvilwiki/anvil-update-codes)
Your own site
<a href="https://agentmods.dev/skills/pngtrid/anvilwiki/anvil-update-codes"><img src="https://agentmods.dev/badge/skills/pngtrid/anvilwiki/anvil-update-codes/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 anvil-update-codes

Your own site · 80×15
<a href="https://agentmods.dev/skills/pngtrid/anvilwiki/anvil-update-codes"><img src="https://agentmods.dev/badge/skills/pngtrid/anvilwiki/anvil-update-codes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 898 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 50
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00069 $0.00898
Opus 5 $0.00034 $0.00449
Sonnet 5 $0.00014 $0.00180
Haiku 4.5 $0.00007 $0.00090

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

Security

Grade A, and why

anvil-update-codes 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 2d 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.

.agent/skills/anvil-update-codes/SKILL.md · 59 lines

What it actually says

AnvilWiki 兑换码更新

codes 页是游戏 wiki 流量最高、时效性最强的页面。更新它的唯一原则:只信用户给的数据,绝不编造或"推测"兑换码——一个失效码直接损害站点信任。

工作流

Step 1 — 定位目标文章

ls src/content/wiki/en/codes/   # 或用户指定的 locale

读现有文章,理解现有结构(Active 列表 / How to Redeem / Expired 列表)。

Step 2 — 应用新数据(v1.8 起 codes 走 frontmatter,不再手写 CodeBlock)

文章 frontmatter 有结构化 codes: 数组,页面自动渲染 Active(CodeBlock 一键复制)/ Expired(表格)分区 + FAQPage JSON-LD:

codes:
  - code: FORGE-2026
    reward: '+500 Gold'
    status: active
    expiryDate: 'Aug 31'
    source: 'Official Discord announcement'

(status 取值 active | expired;YAML 块内不要写行内注释——pnpm sync-codes 的解析器会响亮拒绝。)

  • 新码:在 codes: 数组 active 项最前面追加(带 reward/expiryDate)
  • 用户说"XX 过期了":把该项 status 改为 expired(保留,不删除——过期码是 "is X still working" 长尾 SEO 内容)
  • 更新 frontmatter:lastModified: <今天>;游戏有版本号就更新 gameVersion
  • 若文章标题含年月(如 "All Working Codes (August 2026)"),跨月时同步更新 title
  • summary 里的码数量/日期同步修正
  • 正文里的 CodeBlock 列表(旧格式)迁移到 frontmatter 后删除,正文保留 how-to-redeem 等散文内容

批量场景(一次新增/过期多个码):pnpm sync-codescodes-sync.csv 确定性合并进 frontmatter(--dry-run 预览,新码前置/过期保留,全语言同名页同步;CSV 的 slug 必须是单个文件名,不含 /\ 或换行——含则解析期响亮拒绝,防静默写错页)。本技能仍是单页精修与翻译判断(reward 等文案按语言译)的正道。

Step 3 — 多语言同步

src/content/wiki/<locale>/codes/ 存在同名文章,同步数据(codes frontmatter 的 code 字段不翻译,reward 等文案字段翻译)。

Step 4 — 自检(必须执行)

pnpm check-content && pnpm build

可选(anvilwiki-ops ≥0.1,模板 v1.15+):自检通过后 npx anvilwiki-ops submit --title "codes: 更新兑换码 YYYY-MM-DD" 一条命令完成「校验→建分支→提交→推送→开 PR」,PR 描述自带校验结果;校验不过就地终止,不会提交任何东西。

Step 5 — 汇报

新增 N 码 / 过期 M 码 / 文章路径,提醒用户:codes 类页面建议每周检查一次——注意 codes 分类不在 STALE_CATEGORIES 里,不会显示页面横幅;保鲜提醒来自每周一的 content-pipeline 审计 issue(codes 超 7 天未验证 = P0)。

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. 2d ago Changed · +4 lines 59a144a01470
  2. 10d ago First seen · 55 lines · 69 tokens per session scan A 8933016c8e5c

Subscribe to this mod's changes

anvil-update-codes is a skill published in the GitHub repository PNGTRID/AnvilWiki (133 stars, last pushed today), licensed MIT. It adds 69 tokens to every session and 898 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

astro

Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.

sickn33/agentic-awesome-skills · 28 tokens

particle-swarm-sim

Generate 20,000+ particle swarm simulators in two modes: sandbox (complete Three.js host runtime with gesture controls, security validation, code injection pipeline) and sim (behavior function bodies that position/color particles via a sandboxed API). The AI writes ONLY a function body — the host handles rendering…

tdimino/claude-code-minoan · 0 tokens

atmosphere-shader

Generate physically-based atmospheric scattering shaders — sky domes, planetary atmospheres, LUT-optimized pipelines, depth-aware post-processing. Four modes — sky-dome, atmosphere-post, planet, lut. Triggers on atmospheric scattering, sky shader, sunset rendering, planet atmosphere, Rayleigh scattering, Mie…

tdimino/claude-code-minoan · 96 tokens

sprite-forge

Generate game sprites, SVG characters, ASCII art, animated mascots, and isometric turnarounds from images or descriptions. Five output modes: SVG characters, game sprite sheets with atlas metadata, 8-way isometric turnarounds, ASCII/Unicode terminal art, GSAP-animated mascots. Triggers on sprite, pixel art, SVG…

tdimino/claude-code-minoan · 95 tokens

specification-website

Query and apply The Website Specification — a platform-agnostic specification of what a good website does, with each item tagged required, recommended, optional, or avoid. Use when the user asks what their site should have, whether something is required, how to audit a URL, what's missing for agent readiness, or…

jdevalk/specification.website · 127 tokens

polyglow-content

Use this skill to discover and read Polyglow's public multilingual editorial content.

zbzailabs/Polyglow · 21 tokens