Agent skill

Invalid Parent

by worldcoin in worldcoin/world-chain

Trace a WIP1006 INVALIDPARENT cascade to its first ancestor with a different status or invalidation reason.

MITAuto-check passedDevelopment

Install Invalid Parent

skills CLI
$ npx skills add worldcoin/world-chain --skill invalid-parent -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install worldcoin/world-chain invalid-parent --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/worldcoin/world-chain.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/invalid-parent .claude/skills/invalid-parent && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
invalid-parent
GitHub stars
116
Token cost
~295 tokens
SKILL.md length
135 words
Files
2 (incl. scripts)
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Trace a WIP1006 INVALIDPARENT cascade to its first ancestor with a different status or invalidation reason.

  • Development work in your project
  • Runs Python scripts from its folder; calls python3

What it does

Invalid Parent is an agent skill from worldcoin/world-chain. Trace a WIP1006 INVALIDPARENT cascade to its first ancestor with a different status or invalidation reason.

Its SKILL.md is about 300 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/trace_parent.py`).

It sits in Development. It works with Ethereum. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “/invalid-parent”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 2b7dfe8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Invalid Parent loads about 295 tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 135 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~295

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from worldcoin/world-chain at commit 2b7dfe8, republished under its MIT licence (© worldcoin). 135 words, ~295 tokens.

Download SKILL.mdSave it as .claude/skills/invalid-parent/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
invalid-parent
description
Trace a WIP1006 INVALID_PARENT cascade to its first ancestor with a different status or invalidation reason.

Run python3 scripts/trace_parent.py <game-address> [mainnet|sepolia], resolving the script relative to this skill directory. Execute it directly; reading or recreating the script is unnecessary unless troubleshooting.

Default to mainnet for Ethereum/mainnet or no network; use sepolia when specified. The script reads ETHEREUM_PROVIDER or ETHEREUM_SEPOLIA_PROVIDER respectively. It requires only Python's standard library and a provider supporting JSON-RPC batches.

The script verifies the initial game reports CHALLENGER_WINS / INVALID_PARENT, then follows parentRef() to the first ancestor where either value differs. Reads use one block, with bounded requests, cycle detection, and a 200-hop limit. Failures exit nonzero; partial rows are not a completed trace.

Report the terminal address, GameStatus, InvalidationReason, and parent-hop count. Include the chain when short. This identifies the on-chain origin of the cascade, not the underlying cause of a proof timeout, and does not authenticate contract type.

© worldcoin, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in .agents/skills/invalid-parent of worldcoin/world-chain.

  • SKILL.md
  • scripts/trace_parent.py

Open the folder on GitHubat commit 2b7dfe8

Compare with similar skills

Invalid Parent next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Invalid Parent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Invalid Parent this skillworldcoin/world-chain116—~295Automated safety check: PassMIT
Wagmi Feature Developmentwevm/wagmi6.8k—~3.8kAutomated safety check: PassMIT
Release Roundethereumjs/ethereumjs-monorepo2.8k—~2kAutomated safety check: PassNone
Update Est Fixturesethereumjs/ethereumjs-monorepo2.8k—~3.3kAutomated safety check: PassNone
Starknet JSstarknet-io/starknet.js1.3k—~1.2kAutomated safety check: PassMIT
Lean Reviewgeanlabs/gean177—~1.5kAutomated safety check: PassNone

Similar skills

  • Walks through adding a Wagmi feature across its layers: a Viem-based core action, TanStack Query options, and React and Vue bindings.

    6.8k GitHub stars~3.8k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Release Round

    ethereumjs/ethereumjs-monorepo

    Runs a coordinated EthereumJS npm release round in six human-gated phases — intent and readiness, CHANGELOG, version bump, publish (human executes), post-publish verification, and announcements.

    2.8k GitHub stars~2k tokensUpdated 20 days ago
    DevelopmentAuto-check passed
  • Update Est Fixtures

    ethereumjs/ethereumjs-monorepo

    Updates EthereumJS execution-spec test fixtures from an ethereum/execution-specs release, then (after a human merge) points the monorepo submodule, updates VM npm scripts, reports a first test run…

    2.8k GitHub stars~3.3k tokensUpdated 20 days ago
    DevelopmentAuto-check passed
  • Starknet JS

    starknet-io/starknet.js

    A skill your agent uses when writing or debugging JavaScript/TypeScript that interacts with Starknet through the starknet.js SDK — building Call objects or calldata, encoding/decoding Cairo types…

    1.3k GitHub stars~1.2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Lean Review

    geanlabs/gean

    Review a branch or PR's diff against main and report opportunities to subtract — simplify, delete, and reduce the number of concepts a reader has to hold in their head.

    177 GitHub stars~1.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Boundless CLI

    boundless-xyz/boundless

    How to use the Boundless CLI — the primary interface for the Boundless ZK proof marketplace.

    193 GitHub starsUsed in 1 repo~1.8k tokens
    DevelopmentAuto-check passed

More from worldcoin/world-chain

  • Debug Node Tracing

    worldcoin/world-chain

    Debug World Chain nodes with temporary admintracingDirectives log filters and targeted log collection.

    116 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Check Wip1006 Config

    worldcoin/world-chain

    Inspect the active WIP-1006 factory configuration from an L1 AnchorStateRegistry at one finalized snapshot, including safety state, Nitro PCR approvals, and optional implementation comparison.

    116 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Investigate Game

    worldcoin/world-chain

    Verify an Ethereum address is a WIP1006 dispute game and report its status, claim, bonds, proof configuration, and proposal context in a compact debugging table.

    116 GitHub stars~533 tokensUpdated yesterday
    Auto-check passed
  • Pending Games

    worldcoin/world-chain

    List unresolved WIP1006 dispute game addresses by scanning backward through at most the newest 2000 entries in a supplied factory.

    116 GitHub stars~550 tokensUpdated yesterday
    Auto-check passed
  • Recovery Parent

    worldcoin/world-chain

    Find the nearest defender-winning, ASR claim-valid game backward in a WIP-1006 lineage for the proposer and defender recovery-parent flag.

    116 GitHub stars~570 tokensUpdated yesterday
    Auto-check passed
  • Scan Invalid Games

    worldcoin/world-chain

    Scan WIP1006 games inside their challenge deadline for root claims that disagree with a supplied L2 consensus RPC at finalized L2 blocks, including challenge status and game creator.

    116 GitHub stars~532 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Invalid Parent

What does Invalid Parent do?

Trace a WIP1006 INVALIDPARENT cascade to its first ancestor with a different status or invalidation reason. Invalid Parent is an agent skill from worldcoin/world-chain. Trace a WIP1006 INVALIDPARENT cascade to its first ancestor with a different status or invalidation reason.

When should I use Invalid Parent?

Invalid Parent fits situations like: development work in your project.

How do I install Invalid Parent in Claude Code?

Run `npx skills add worldcoin/world-chain --skill invalid-parent -a claude-code`. Or copy the skill folder (.agents/skills/invalid-parent in worldcoin/world-chain) into .claude/skills/invalid-parent in your project. Claude Code loads it when a task matches its description.

How do I install Invalid Parent in Codex?

Run `npx skills add worldcoin/world-chain --skill invalid-parent -a codex`. Or copy the skill folder (.agents/skills/invalid-parent in worldcoin/world-chain) into .agents/skills/invalid-parent in your project. Codex loads it when a task matches its description.

Can I use Invalid Parent in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add worldcoin/world-chain --skill invalid-parent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/invalid-parent, .gemini/skills/invalid-parent, .github/skills/invalid-parent and .opencode/skills/invalid-parent in your project.

What does Invalid Parent need to run?

Going by SKILL.md and its folder, Invalid Parent needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Invalid Parent access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Invalid Parent safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Invalid Parent use?

Invalid Parent is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Invalid Parent use?

About 295 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Invalid Parent?

Skills that share tags, products or a category with Invalid Parent: Wagmi Feature Development (wevm/wagmi, 6.8k stars), Release Round (ethereumjs/ethereumjs-monorepo, 2.8k stars), Update Est Fixtures (ethereumjs/ethereumjs-monorepo, 2.8k stars) and Starknet JS (starknet-io/starknet.js, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Invalid Parent?

worldcoin (a GitHub organization) maintains it in worldcoin/world-chain, which has 116 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 8, 2026.

Source: worldcoin/world-chain on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.