Getting Started

Skill Intelligence & Local Flow Map

Readme Studio includes a deterministic Skill Intelligence engine that runs identically across the Web Workspace, Remote MCP (/mcp), Local Desktop MCP, and the VS Code extension.

1. Health Score Formula (0 - 100)

File Health = max(10, min(100, 100 - (22 * Errors + 10 * Warnings)))
Errors (-22 pts each)
  • Broken File References: Local paths referenced in Markdown links, wiki-links, or backticks that do not exist in the workspace.
  • High-Severity Security Risks: Hidden zero-width/bidi Unicode characters, piped shell execution (curl | sh), or destructive recursive deletes.
Warnings (-10 pts each)
  • Skill Entry YAML Frontmatter: Missing/non-kebab name or short/untriggered description (checked only on skill entry files).
  • Broken Heading Anchors: Links to existing files whose #anchor does not match any heading.
  • Progressive Disclosure & Structure: Files over 500 lines, 2+ hop reference chains, long files (>100 lines, 4+ headings) without a top TOC, or >=35% trigger keyword collision.

Workspace Overall Score: Weighted toward the primary SKILL.md entry point (60% primary SKILL.md + 40% workspace average), minus 5 points per unlinked orphan Markdown file (capped at -15 points).

2. Smart Eligibility Rules: YAML Frontmatter vs. Table of Contents

When YAML Frontmatter Is Required

Required only on SKILL.md (case-insensitive), .mdc rule files, or files that already declare name: or description: in frontmatter.

Helper docs (workflows/*.md, references/*.md, README.md, ROUTING.md, AGENTS.md, CLAUDE.md) are never penalized for omitting skill frontmatter.

When a Table of Contents Is Suggested

Suggested only when a Markdown file exceeds 100 lines, contains at least 4 headings (with at least 2 H2/H3 sections), and does not already have a Table of Contents in the top 65 lines.

Short playbooks and files that already include anchor links near the top are never cluttered with duplicate TOCs.

3. Explicit User Approval & Local Flow Map Badges

Human-in-the-Loop Guardrails
  • No Automatic Insertion: Clicking Review & Add YAML or Review & Add TOC always opens an approval preview showing the drafted YAML (preserving any existing description text while adding Use when... trigger phrasing) or ## Contents list before modifying your file.
  • Visual Tracking in the Local Flow Map: Approved files are badged with +YAML Added (Check name/desc) and +TOC Added inside the Interactive Local Flow Map, Mermaid Routing Diagram, and VS Code CodeLens so you always know which files to review.
  • No Empty Stub Creation: Missing referenced files require real domain instructions and are intentionally never auto-created as empty placeholders.
  • 1-Click AI Brief: Click AI Brief in the Skill Routing Bar to copy a structured Local Flow Map and health summary for any AI coding assistant.