Skip to content

Inspection and debugging tool for KGF language specs, covering tokens, parse events, and extracted edges.

CCM score
67 of 100
skills.sh installs
4.9K
GitHub stars
2
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the indexion kgf subcommands: list, update, add, inspect, tokens, events, and edges, each showing one stage of file processing
  • Includes guidance on matching indexion grep patterns to real token kinds, plus common MoonBit token kinds such as KW_pub, TypeIdent, and NL
  • Documents KGF pitfalls: PEG first-match-wins ordering, NL? between doc comments and keywords, bottom-up bind/$scope event flow, and token priority conflicts
  • Designed for developers adding or fixing language support, or checking why indexion's analysis output looks wrong

Install

$ npx -y skills add trkbt10/indexion-skills --skill indexion-kgf -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

indexion kgf

Inspect and debug KGF language specs by viewing tokens, parse events, and extracted edges.

When to Use

  • User wants to debug how indexion processes a specific file
  • User is developing or modifying a KGF spec
  • User asks "how does indexion parse this file?"
  • Verifying that tokenization/parsing works correctly for a language
  • Debugging grep patterns: when a grep pattern doesn't match, use kgf tokens to see the actual token kinds

Subcommands

indexion kgf list — List Installed Specs

indexion kgf list

indexion kgf update — Update All Specs

Download the latest specs from GitHub.

indexion kgf update

indexion kgf add — Install a Single Spec

indexion kgf add <spec-name>

indexion kgf inspect — Full Inspection

Show tokens, events, and edges all at once.

indexion kgf inspect <file>
indexion kgf inspect --spec=typescript src/app.ts

indexion kgf tokens — Tokenization Only

Show how a file is tokenized.

indexion kgf tokens <file>
indexion kgf tokens --spec=go-mod go.mod

indexion kgf events — Parse Events Only

Show parse events generated from tokens.

Details

Repository
github.com/trkbt10/indexion-skills
Categories
Debugging, CLI & Terminal
First seen
Jul 14, 2026

Questions

What does the indexion-kgf skill do?

It inspects and debugs KGF language specs by showing tokenization results, parse events, and extracted dependency edges from a source file. It is useful when adding or fixing language support or when indexion's analysis output looks wrong.

How do I install the indexion-kgf skill?

Run npx -y skills add trkbt10/indexion-skills --skill indexion-kgf -y in a project. The skill then lets the agent run indexion kgf inspect, tokens, events and edges on a file to see how indexion processes it.

What does indexion-kgf need before it can run?

The indexion binary must be installed and available in your PATH, and newer subcommands may need a recent version. The skill runs indexion kgf commands against files you point it at.

How can indexion-kgf help when a grep pattern doesn't match?

It uses indexion kgf tokens to show the actual token kinds in a file, such as KW_pub or Ident. You can then adjust the grep pattern to match those real token kinds.

Where does indexion-kgf rank in the Debugging category?

It sits in the top 100 of the Debugging category on Claude Marketplaces. It differs from general debugging skills by focusing on how indexion parses and extracts edges from source files.

More from trkbt10/indexion-skills

All 8

Similar to Indexion Kgf

More Debugging