Skip to content
SkillPulse

SkillPulse

AI Agent Skills & MCP Contract Analyzer

Created on 24th October 2026

•

SkillPulse

SkillPulse

AI Agent Skills & MCP Contract Analyzer

The problem SkillPulse solves

As AI engineering shifts from monolithic system prompts to modular Agent Skills (SKILL.md) and Model Context Protocol (MCP 2025-11-25) tool servers, developers face a silent reliability crisis: broken cross-boundary contracts between markdown instructions and JSON tool manifests.

Today, when an agent workspace breaks, it fails silently at runtime:

  1. Ghost Tools (MCP003): A SKILL.md prompt instructs an agent to invoke a tool (e.g., delete_production_db), but that tool is missing, misspelled, or renamed in mcp_tools.json—causing the agent to hallucinate tool calls or crash mid-execution.
  2. Orphan Tools (MCP004) & Context Window Bloat (SKILL005): Unreferenced MCP tools and bloated markdown skills silently consume thousands of tokens of context window budget on every single turn.
  3. Malformed Schemas (MCP002): Missing inputSchema objects, invalid property dictionaries, or mismatched required arrays break strict LLM tool-calling parsers.
  4. False-Positive Stubs (MCP005): Auto-generated schema placeholders are often mistaken for working backend tools in multi-developer repos.

SkillPulse is eslint + pytest for the agentic stack. Built with 100% Python 3.10+ standard library (zero external dependencies) and verified by 45 unit/integration tests, it executes in under 200ms to provide:

  • Static Skill Linter (SKILL001–SKILL006): Validates YAML frontmatter delimiters, naming regexes, trigger cues, relative markdown file links on disk, and BPE token footprint estimates (~1.3 tokens/word).
  • MCP 2025-11-25 Contract Validator (MCP001–MCP005): Validates JSON Schema definitions and cross-references every tool call in SKILL.md against mcp_tools.json to catch Ghost Tools, Orphan Tools, and Unimplemented Stubs.
  • Deterministic Ecosystem Health Score (0–100, Grade A–F): Computed via Score = max(0, 100 - (20 * errors) - (5 * warnings)).
  • Deterministic Contract Auto-Fixer (skillpulse fix): Repairs missing frontmatter descriptions, injects compliant MCP 2025-11-25 object schema skeletons, and stubs missing Ghost Tools—honestly classifying auto-generated placeholders as MCP005: STUB / UNIMPLEMENTED (-5 pts) rather than faking backend verification (lifting our broken test workspace from 25% Grade F to 80% Grade B automatically).
  • Self-Contained Obsidian HTML Dashboard & CI Exports: Generates a zero-dependency offline dark-mode report featuring an interactive Skill <-> MCP Contract Topology Map, a Model Context Window Budget Meter (8k Skill Budget vs. GPT-4o 128k / Claude 200k / Gemini 1M), client-side severity filters, 1-click Copy Fix buttons, and --format json / --format markdown outputs for GitHub Actions and GitLab CI pipelines.

Challenges I ran into

  1. Strict Zero-Dependency Architecture:
    We wanted SkillPulse to run instantaneously (<200ms) inside any developer's local environment or air-gapped CI container without requiring C-compilers, Rust toolchains, or third-party pip packages (PyYAML, jsonschema, pydantic). We engineered a custom line-by-line YAML frontmatter parser (SimpleYAMLParser supporting inline lists and key-value extraction), a pure-stdlib MCP 2025-11-25 JSON Schema validator, and a heuristic BPE token estimator (~1.3 tokens/word) using only Python 3.10+ built-in modules.

  2. Eliminating False Positives in Cross-Boundary Tool Extraction:
    Extracting MCP tool invocations from free-form markdown (SKILL.md) initially risked flagging regular inline code snippets or sibling skill names as Ghost Tools (MCP003). We solved this by scoping AST/regex extraction specifically to tools: / mcp_tools: YAML frontmatter declarations and dedicated # MCP Tools markdown sections, adding regression tests (test_tool_extraction_does_not_extract_sibling_skills_or_generic_backticks) to guarantee zero false positives.

  3. Honest Contract Verification vs. Placeholder Stubs (MCP005):
    When building skillpulse fix, automatically generating a valid MCP 2025-11-25 schema entry for a missing Ghost Tool resolved the fatal MCP003 schema error, but initially caused the dashboard topology map to label the tool as a ✓ Verified Contract even though no backend server logic existed yet. To prevent misleading developers, we engineered Rule MCP005 (is_stub tracking via "x_skillpulse_stub": true), which downgrades the fatal -20 pt Ghost Tool error into an explicit -5 pt STUB / UNIMPLEMENTED warning and visually separates schema stubs from verified contracts in both the CLI and HTML Topology Map.

  4. Safe Offline Clipboard Handling Across file:// Origins:
    Because the generated skillpulse-report.html dashboard is opened directly from disk via file://, standard inline JavaScript string interpolation broke when remediation snippets contained nested JSON quotes or backslashes, and modern browsers restrict navigator.clipboard on non-HTTPS local files. We eliminated inline string interpolation collisions and built a zero-dependency clipboard fallback (fallbackCopy) with r

Tracks Applied (1)

Open Track - Development

SkillPulse is a pure-Python developer tool that addresses a growing software engineering challenge: verifying cross-boun...Read More

Discussion

Builders also viewed

See more projects on Devfolio