spec-miner
Use when understanding legacy or undocumented systems, creating documentation for existing code, or extracting specifications from implementations. Invoke for legacy analysis, code archaeology, undocumented features.
Why use this skill?
Use Spec Miner to reverse-engineer legacy codebases, generate technical documentation, and extract EARS requirements from existing projects automatically.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/veeramanikandanr48/spec-minerWhat This Skill Does
The Spec Miner skill serves as a senior software archaeologist and reverse-engineering agent. It is designed to bridge the gap between undocumented legacy code and modern, maintainable documentation. By leveraging static analysis techniques—such as pattern matching, dependency mapping, and data flow tracing—the agent decomposes complex, opaque codebases into structured technical specifications. It acts as an investigator that systematically uncovers the hidden logic, architectural patterns, and functional requirements embedded within existing implementations. Whether you are dealing with a monolithic legacy system or a poorly documented microservice, Spec Miner provides the clarity needed to modernize or extend your software.
Installation
To add this skill to your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/veeramanikandanr48/spec-miner
Ensure your agent has the necessary filesystem permissions to read the repository you intend to analyze, as the skill relies heavily on Glob, Grep, and Read operations.
Use Cases
- Legacy System Migration: Use Spec Miner to extract business logic and data schemas before migrating an old system to a new technology stack.
- Onboarding to Unknown Codebases: Rapidly generate an architectural overview to help team members understand the system structure without spending weeks reading every source file.
- Generating Missing Documentation: Automatically create requirements specifications (using the EARS format) for systems that lack any internal or external documentation.
- Security Audit Preparation: Identify high-level data flows and potential vulnerability surfaces by mapping how information enters and moves through the application.
- Feature Expansion: Understand exactly how an existing feature is implemented before attempting to inject new functionality, ensuring you avoid breaking implicit dependencies.
Example Prompts
- "Spec Miner, please map out the authentication flow in this legacy directory and create an EARS-based specification document for the login process."
- "I need to understand the data flow in our order processing module. Can you trace the execution path starting from the controller and highlight any edge-case error handling?"
- "Explore the
src/legacyfolder and create a summary of the architectural patterns observed, including a list of any undocumented features found."
Tips & Limitations
To get the most out of Spec Miner, provide the agent with a clear scope. Instead of asking it to analyze a whole project, focus on specific directories or modules. The skill works best when it can verify its findings against the source code, so ensure you have read access to the relevant directories. Note that because Spec Miner is an observational tool, it can only interpret what is explicitly written in the code. It may struggle with highly dynamic systems or obfuscated code where logic is hidden behind runtime reflection or complex metaprogramming. Always review the generated reverse_spec.md for accuracy, as inferences are subject to the limitations of static analysis.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-veeramanikandanr48-spec-miner": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write
Related Skills
earnings-calendar
This skill retrieves upcoming earnings announcements for US stocks using the Financial Modeling Prep (FMP) API. Use this when the user requests earnings calendar data, wants to know which companies are reporting earnings in the upcoming week, or needs a weekly earnings review. The skill focuses on mid-cap and above companies (over $2B market cap) that have significant market impact, organizing the data by date and timing in a clean markdown table format. Supports multiple environments (CLI, Desktop, Web) with flexible API key management.
better-auth
Self-hosted auth for TypeScript/Cloudflare Workers with social auth, 2FA, passkeys, organizations, RBAC, and 15+ plugins. Requires Drizzle ORM or Kysely for D1 (no direct adapter). Self-hosted alternative to Clerk/Auth.js. Use when: self-hosting auth on D1, building OAuth provider, multi-tenant SaaS, or troubleshooting D1 adapter errors, session caching, rate limits, Expo crashes, additionalFields bugs.
dividend-growth-pullback-screener
Use this skill to find high-quality dividend growth stocks (12%+ annual dividend growth, 1.5%+ yield) that are experiencing temporary pullbacks, identified by RSI oversold conditions (RSI ≤40). This skill combines fundamental dividend analysis with technical timing indicators to identify buying opportunities in strong dividend growers during short-term weakness.
cli-developer
Use when building CLI tools, implementing argument parsing, or adding interactive prompts. Invoke for CLI design, argument parsing, interactive prompts, progress indicators, shell completions.
options-strategy-advisor
Options trading strategy analysis and simulation tool. Provides theoretical pricing using Black-Scholes model, Greeks calculation, strategy P/L simulation, and risk management guidance. Use when user requests options strategy analysis, covered calls, protective puts, spreads, iron condors, earnings plays, or options risk management. Includes volatility analysis, position sizing, and earnings-based strategy recommendations. Educational focus with practical trade simulation.