ychampion/cskill-agents/fork-gap-fill-reconstruction
Claude Code and agent skill by ychampion/cskill-agents
- community
Checking that the SKILL.md file is still in the repository.
Reconstruct child replacement state from local records first, then fill uncovered gaps from the parent's live map.
Install
npx vskill@latest install ychampion/cskill-agents/fork-gap-fill-reconstructionSKILL.md
SKILL: Fork Gap-Fill Reconstruction
Domain: multi-agent Trigger: Apply when a forked or resumed child workflow must inherit prior replacement decisions even though its local transcript lacks full replacement records. Source Pattern: Distilled from reviewed multi-agent coordination and child-runtime patterns.
Core Method
Rebuild child state from the records the child actually persisted, then fill any uncovered IDs from the parent's live replacement map. This handles the fork-resume case where inherited replacements were applied during the original run but never written as new child records. The result is a child state that replays the same cached previews the model originally saw instead of freezing those IDs as unreplaced gaps.
Key Rules
- Reconstruct from local records first so the child transcript remains the primary source of truth for what it explicitly persisted.
- Use parent replacements only as a gap-fill for IDs still present in the resumed messages and not already covered by child records.
- Preserve the
seenIdsfreeze semantics while layering in inherited replacements so resumed children do not recalculate different decisions. - Skip inherited mappings for IDs absent from the resumed message set; they are inert and should not pollute the child state.
Example Application
When a forked review agent resumes from sidechain transcript records, rebuild its replacement state from those records and then copy any missing preview strings from the parent’s live replacement map so the resumed child continues using the exact previews it saw before the interruption.
Anti-Patterns (What NOT to do)
- Do not rely on child records alone for fork-resume cases; inherited replacements may never have been persisted by the child.
- Do not blindly copy the entire parent replacement map into the child; only IDs present in the resumed messages should be imported.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/fork-gap-fill-reconstruction/SKILL.md
Popularity
- Repository stars
- 36
- Repository forks
- 7
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ychampion/cskill-agents/fork-gap-fill-reconstruction)