Skip to content
Back to skills

Forge Kb Check

ASecurity

Check the health of this project's knowledge base (CLAUDE.md, AGENTS.md and the topic files they name) - size, repeats, stale text, contradictions, dead references - and say whether to leave, tidy or split it. Read-only: writes only its report.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 3, 2026
ai-agentsbashnodegit

Works with

  • claude code

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add JZO001/forge-agent-tree --skill forge-kb-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Forge Kb Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Forge Kb Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jzo001-forge-kb-check/badge)](https://www.skillsdirectory.com/skills/jzo001-forge-kb-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: forge-kb-check
description: "Check the health of this project's knowledge base (CLAUDE.md, AGENTS.md and the topic files they name) - size, repeats, stale text, contradictions, dead references - and say whether to leave, tidy or split it. Read-only: writes only its report."
argument-hint: "[thorough] [model]"
allowed-tools: Read, Grep, Glob, Bash(node:*), Edit(./AI/.kb/**)
---

# Knowledge base check

Check the knowledge base of the project in the working directory: the instruction files Claude Code loads into every session (`CLAUDE.md` and its `@` imports, or `AGENTS.md` alone) and the topic files they name. Change none of them: you write only your answer, and the check's script only its report, both under `AI/.kb/`. Run no command but the script: it checks the `.gitignore` too.

Arguments: `$ARGUMENTS`. `thorough` also checks up to 10 statements against the code; `model` means you count the machine part yourself, without Node.

The script, KB below: `node "${CLAUDE_SKILL_DIR}/../../scripts/kb.mjs"`. If that path does not exist, find `scripts/kb.mjs` of the forge-agent-tree plugin with Glob.

1. Unless `model` was given, run `KB check prompt .` (with `--thorough` for `thorough`).
   - If `node` is missing, or the script says Node is too old, tell the user why and offer the model mode (`model-mode.md` beside this file). Do not switch to it on your own: it costs tokens and is less exact. Stop there.
   - If it says there is no knowledge base, tell the user, suggest the forge-kb-init skill, and stop.
2. Do what the printed instructions ask, and write the one JSON object they describe.
3. Write it with the Write tool to `AI/.kb/check-answer.json`, then run `KB check report . --answer AI/.kb/check-answer.json` (with `--thorough` if used); the script removes the file once used. If the script says the answer's form is wrong, fix what it names, write the file again and run the report again, once.
4. The script prints the report. Tell the user in their language, briefly: the verdict in its words, the main numbers, every contradiction, and the findings with `file:line`, so they can fix them by hand; then the report's path and the next step it names.

Files in this skill

  • SKILL.md2.1 KB
  • model-mode.md4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.