excavate-source-analysis

Decompose source code into per-unit behavioral analyses with provenance.

Updated May 25, 2026
One-click install
npx skills add https://github.com/cmetech/otto-cli --skill excavate-source-analysis
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: excavate-source-analysis
Source: https://github.com/cmetech/otto-cli/tree/main/src/resources/skills/excavate-source-analysis
Command: npx skills add https://github.com/cmetech/otto-cli --skill excavate-source-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes source code to extract observable behavioral claims with provenance, turning opaque code into structured, verifiable knowledge about how a codebase behaves.

Core Features & Use Cases

  • Per-unit behavioral extraction: decompose code into analyzable units (source trees, bundles, or decompiled binaries) and capture behavior with provenance.
  • Language-agnostic methods: supports multiple languages with language-aware pipelines and analysis templates.
  • Audit-ready outputs: produces per-unit analyses and templates that can be surfaced in reviews or governance.

Quick Start

Run the source-tree pipeline to generate per-unit behavioral analyses for a target repository.

Frequently Asked Questions about excavate-source-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract behavioral specifications from source code?▼

To extract behavioral specifications from source code, you decompose the codebase into analyzable units and run a per-unit analysis pipeline. This process generates structured, verifiable knowledge documenting observable behavior and its provenance for governance.

Can I analyze decompiled binaries to extract observable behavior?▼

Yes, you can analyze decompiled binaries to extract observable behavior. The pipeline applies language-agnostic methods to source trees, bundles, and decompiled binaries, producing per-unit analyses that document verifiable behavioral claims.

What is the best way to generate audit-ready outputs for code governance?▼

The best way to generate audit-ready outputs for code governance is running a source-tree pipeline that produces per-unit behavioral analyses. These outputs capture observable behavior with provenance, making them ready to surface in reviews.

Does source analysis work across multiple programming languages?▼

Source analysis works across multiple programming languages by using language-aware pipelines and analysis templates. This language-agnostic approach allows you to decompose various source trees and bundles to capture behavior consistently.

How do I document code provenance for opaque codebases?▼

You document code provenance for opaque codebases by decomposing the source code into analyzable units and applying a structured analysis pipeline. This turns opaque code into structured, verifiable knowledge about how the codebase behaves.

What are the limitations of per-unit behavioral extraction?▼

Per-unit behavioral extraction focuses on observable behavior and provenance at the unit level, producing structured insights for review. It relies on a specific pipeline (ST1-ST3 and Phase 6-8) to generate templates rather than executing the code dynamically.