Home / Market / instructree

instructree

Map, explain, and lint repository-scoped coding-agent instructions before changing code.

skill★ 507600 dlgithubCC-BY-4.0 content; MIT code; upstream exceptions applyInstall in CosmosUpstream Source

Documentation & Preview

--- name: instructree description: "Map, explain, and lint repository-scoped coding-agent instructions before changing code." category: development risk: safe source: community source_repo: kotobuki09/instructree source_type: community date_added: "2026-08-26" author: kotobuki09 tags: [agent-instructions, agents-md, codex, static-analysis] tools: [claude, codex, cursor, gemini] license: MIT license_source: "https://github.com/kotobuki09/instructree/blob/v0.7.0/LICENSE"

---

Instructree

Overview

Use Instructree to establish which instruction files exist, which may apply to a target, and whether their metadata, links, or recursive imports are malformed. It audits common coding-agent instruction formats locally without calling a model or uploading repository content.

When to Use This Skill

How It Works

Step 1: Choose the local command

Work from the repository root. Prefer an already installed instructree command or the checked-out package's local binary.

If neither is available, explain that the next command downloads executable package code and ask for approval before running the pinned release:

npx github:kotobuki09/instructree#364dddc66badac13a284b79f0dc71f2b4362f6de scan .

Do not add --yes unless the user authorized non-interactive package downloads.

Step 2: Run the narrowest audit

Step 3: Interpret the result

Report file paths, line numbers, diagnostic codes, and the command's exit status. Separate schema or path errors from warnings. Describe always/never conflicts as possible conflicts requiring human review, not proof of agent behavior.

Examples

Audit a repository

instructree scan . --json

Explain one target with recursive imports

instructree explain src/api/client.ts --root . --effective

Generate a code-scanning report

instructree scan . --sarif > instructree.sarif

Best Practices

Limitations

Security & Safety Notes