Agent skill

Autospec Analyze

by ariel-frischer in ariel-frischer/autospec

Analyze cross-artifact consistency and quality in YAML format.

MITAuto-check passedDevelopment

Install Autospec Analyze

skills CLI
$ npx skills add ariel-frischer/autospec --skill autospec-analyze -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ariel-frischer/autospec autospec-analyze --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ariel-frischer/autospec.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/autospec-analyze .claude/skills/autospec-analyze && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
autospec-analyze
GitHub stars
144
Token cost
~2.3k tokens
SKILL.md length
692 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

Analyze cross-artifact consistency and quality in YAML format.

  • Works in 9 steps: Load Artifacts (Progressive Disclosure) → Build Semantic Models → Detection Passes (Token-Efficient… → …
  • Development work in your project
  • SKILL.md covers User Input, Goal, Operating Constraints and Pre-computed Context, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Autospec Analyze is an agent skill from ariel-frischer/autospec. Analyze cross-artifact consistency and quality in YAML format.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: CLI for streamlined spec-driven development. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “/autospec-analyze”

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Load Artifacts (Progressive Disclosure)
  2. Build Semantic Models
  3. Detection Passes (Token-Efficient Analysis)
  4. Severity Assignment
  5. Generate analysis.yaml
  6. Write the analysis to {{.FeatureDir}}/analysis.yaml
  7. Validate the artifact
  8. Report Next Actions
  9. Offer Remediation

What it can do on your machine

Read from SKILL.md and the folder at commit 3381f26. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml and bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Autospec Analyze loads about 2.3k tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 692 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ariel-frischer/autospec at commit 3381f26, republished under its MIT licence (© ariel-frischer). 692 words, ~2,310 tokens.

Download SKILL.mdSave it as .claude/skills/autospec-analyze/SKILL.md (or your agent's skills folder).
name
autospec-analyze
description
Analyze cross-artifact consistency and quality in YAML format.

autospec-analyze

This Agent Skill is generated from autospec.analyze. When the user invokes "$autospec-analyze" or "/autospec.analyze", load and follow these instructions directly. Treat the text after the skill or command name as "$ARGUMENTS". Do not route back through "autospec analyze"; this skill is the prompt for the stage.

Project specs directory: ./specs

User Input

text
$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Goal

Identify inconsistencies, duplications, ambiguities, and underspecified items across the core artifacts (spec, plan, tasks) before implementation. This command MUST run only after $autospec-tasks has successfully produced a complete tasks file.

Operating Constraints

STRICTLY READ-ONLY: Do not modify any files. Output a structured analysis YAML file. Offer an optional remediation plan (user must explicitly approve before any follow-up editing commands would be invoked manually).

Constitution Authority: The project constitution (.autospec/constitution.yaml or AGENTS.md, falling back to agent-specific file like CLAUDE.md) is non-negotiable within this analysis scope. Constitution conflicts are automatically CRITICAL and require adjustment of the spec, plan, or tasks.

Pre-computed Context

The following paths have been pre-computed and are available for use:

  • FEATURE_DIR: {{.FeatureDir}}
  • FEATURE_SPEC: {{.FeatureSpec}}

Execution Steps

1. Load Artifacts (Progressive Disclosure)

Load only the minimal necessary context from each artifact:

From spec.yaml:

  • Overview/Context
  • Functional Requirements
  • Non-Functional Requirements
  • User Stories
  • Edge Cases (if present)

From plan.yaml:

  • Architecture/stack choices
  • Data Model references
  • Phases
  • Technical constraints

From tasks.yaml:

  • Task IDs
  • Descriptions
  • Phase grouping
  • Parallel markers
  • Referenced file paths

From constitution:

  • Load .autospec/constitution.yaml or AGENTS.md (falling back to agent-specific file like CLAUDE.md) for principle validation
2. Build Semantic Models

Create internal representations (do not include raw artifacts in output):

  • Requirements inventory: Each functional + non-functional requirement with a stable key
  • User story/action inventory: Discrete user actions with acceptance criteria
  • Task coverage mapping: Map each task to one or more requirements or stories
  • Constitution rule set: Extract principle names and MUST/SHOULD normative statements
3. Detection Passes (Token-Efficient Analysis)

Focus on high-signal findings. Limit to 50 findings total; aggregate remainder in overflow summary.

A. Duplication Detection
  • Identify near-duplicate requirements
  • Mark lower-quality phrasing for consolidation
B. Ambiguity Detection
  • Flag vague adjectives (fast, scalable, secure, intuitive, robust) lacking measurable criteria
  • Flag unresolved placeholders (TODO, TKTK, ???, <placeholder>, etc.)
C. Underspecification
  • Requirements with verbs but missing object or measurable outcome
  • User stories missing acceptance criteria alignment
  • Tasks referencing files or components not defined in spec/plan
D. Constitution Alignment
  • Any requirement or plan element conflicting with a MUST principle
  • Missing mandated sections or quality gates from constitution
E. Coverage Gaps
  • Requirements with zero associated tasks
  • Tasks with no mapped requirement/story
  • Non-functional requirements not reflected in tasks (e.g., performance, security)
Show full SKILL.md (269 more words)Show less
F. Inconsistency
  • Terminology drift (same concept named differently across files)
  • Data entities referenced in plan but absent in spec (or vice versa)
  • Task ordering contradictions
  • Conflicting requirements
4. Severity Assignment

Use this heuristic to prioritize findings:

  • CRITICAL: Violates constitution MUST, missing core spec artifact, or requirement with zero coverage that blocks baseline functionality
  • HIGH: Duplicate or conflicting requirement, ambiguous security/performance attribute, untestable acceptance criterion
  • MEDIUM: Terminology drift, missing non-functional task coverage, underspecified edge case
  • LOW: Style/wording improvements, minor redundancy not affecting execution order
5. Generate analysis.yaml
yaml
analysis:
  branch: "<current git branch>"
  timestamp: "<ISO 8601 timestamp>"
  spec_path: "<relative path to spec file>"
  plan_path: "<relative path to plan file>"
  tasks_path: "<relative path to tasks file>"
  constitution_path: "<path to constitution or 'Not found'>"

findings:
  - id: "DUP-001"
    category: "duplication"
    severity: "HIGH"
    location: "spec.yaml:requirements.functional[2]"
    summary: "Two similar requirements for user login"
    details: "FR-002 and FR-005 both describe user authentication flow"
    recommendation: "Merge into single requirement; keep clearer phrasing"

  - id: "AMB-001"
    category: "ambiguity"
    severity: "MEDIUM"
    location: "spec.yaml:requirements.non_functional[0]"
    summary: "Vague performance requirement"
    details: "'Fast response time' lacks specific threshold"
    recommendation: "Quantify with specific metric (e.g., '<200ms p95')"

  - id: "COV-001"
    category: "coverage"
    severity: "HIGH"
    location: "spec.yaml:requirements.functional[3]"
    summary: "FR-004 has no corresponding task"
    details: "Password reset requirement not covered in tasks.yaml"
    recommendation: "Add task in User Story phase for FR-004 implementation"

  - id: "CON-001"
    category: "constitution"
    severity: "CRITICAL"
    location: "tasks.yaml:phases[2].tasks[0]"
    summary: "Missing test task before implementation"
    details: "Constitution requires test-first development"
    recommendation: "Add test task before implementation task T011"

  - id: "INC-001"
    category: "inconsistency"
    severity: "MEDIUM"
    location: "plan.yaml:data_model vs spec.yaml:key_entities"
    summary: "Entity naming mismatch"
    details: "'User' in spec but 'Account' in plan data model"
    recommendation: "Standardize naming across artifacts"

coverage:
  requirements:
    - id: "FR-001"
      has_task: true
      task_ids: ["T010", "T011"]
      notes: ""
    - id: "FR-002"
      has_task: false
      task_ids: []
      notes: "COVERAGE GAP"

  user_stories:
    - id: "US-001"
      tasks_count: 5
      coverage_status: "complete"
    - id: "US-002"
      tasks_count: 0
      coverage_status: "missing"

constitution_alignment:
  status: "PASS"  # or "FAIL" if any CRITICAL constitution issues
  violations:
    - principle: "Test-First Development"
      status: "VIOLATION"
      details: "3 implementation tasks lack preceding test tasks"

unmapped_tasks:
  - task_id: "T015"
    title: "Refactor logging"
    issue: "No corresponding requirement or story"

metrics:
  total_requirements: <number>
  total_tasks: <number>
  coverage_percentage: <number>  # requirements with >=1 task
  ambiguity_count: <number>
  duplication_count: <number>
  critical_issues: <number>
  high_issues: <number>
  medium_issues: <number>
  low_issues: <number>

summary:
  overall_status: "<PASS|WARN|FAIL>"
  blocking_issues: <number of CRITICAL issues>
  actionable_improvements: <number of HIGH/MEDIUM issues>
  ready_for_implementation: <true|false>

_meta:
  version: "1.0.0"
  generator: "autospec"
  generator_version: "<AUTOSPEC_VERSION from step 1>"
  created: "<CREATED_DATE from step 1>"
  artifact_type: "analysis"
6. Write the analysis to {{.FeatureDir}}/analysis.yaml
7. Validate the artifact
bash
autospec artifact {{.FeatureDir}}/analysis.yaml
  • If validation fails: fix schema errors (missing required fields, invalid types/enums) and retry
  • If validation passes: proceed to report
8. Report Next Actions

At end of analysis, output a concise summary:

  • If CRITICAL issues exist: Recommend resolving before implementation
  • If only LOW/MEDIUM: User may proceed, but provide improvement suggestions
  • Provide explicit command suggestions for remediation
9. Offer Remediation

Ask the user: "Would you like me to suggest concrete remediation edits for the top N issues?" (Do NOT apply them automatically.)

Operating Principles

Context Efficiency
  • Minimal high-signal tokens: Focus on actionable findings, not exhaustive documentation
  • Progressive disclosure: Load artifacts incrementally; don't dump all content into analysis
  • Token-efficient output: Limit findings to 50; summarize overflow
  • Deterministic results: Rerunning without changes should produce consistent IDs and counts
Analysis Guidelines
  • NEVER modify source artifacts (read-only analysis; only output is analysis.yaml)
  • NEVER hallucinate missing sections (if absent, report them accurately)
  • Prioritize constitution violations (these are always CRITICAL)
  • Use examples over exhaustive rules (cite specific instances, not generic patterns)
  • Report zero issues gracefully (emit success report with coverage statistics)

© ariel-frischer, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/autospec-analyze of ariel-frischer/autospec.

Open the folder on GitHubat commit 3381f26

Compare with similar skills

Autospec Analyze next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Autospec Analyze compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Autospec Analyze this skillariel-frischer/autospec144—~2.3kAutomated safety check: PassMIT
Run Nx Generatornrwl/nx29k2 repos~592Automated safety check: NotesMIT
LoopX PR Program Managerloopx-project/loopx6.2k—~1.9kAutomated safety check: PassApache-2.0
Herdr Pre-Release Auditherdrdev/herdr43k—~289Automated safety check: PassApache-2.0
A2ui Issue Triagea2ui-project/a2ui17k—~1.5kAutomated safety check: PassApache-2.0
Happier Reviewhappier-dev/happier1.9k—~4.5kAutomated safety check: PassMIT

Similar skills

  • Run Nx generators with prioritization for workspace-plugin generators.

    29k GitHub starsUsed in 2 repos~592 tokens
    DevelopmentAuto-check: notes
  • LoopX PR Program Manager

    loopx-project/loopx

    Tracks a group of pull or merge requests across repositories as durable LoopX state: inventory, reconcile changes, keep priorities and a roadmap, and monitor over time.

    6.2k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Audit herdr release readiness by comparing commits since the base release against next-release changelog and docs. Use when asked to run or apply the repo's…

    43k GitHub stars~289 tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • A2ui Issue Triage

    a2ui-project/a2ui

    Automates the triage of GitHub issues in the A2UI repository.

    17k GitHub stars~1.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Happier Review

    happier-dev/happier

    Conduct evidence-backed Happier code, plan-completeness, session, worktree, feature, commit, branch, PR, codebase, and release-readiness reviews with affected-corridor analysis, high-confidence…

    1.9k GitHub stars~4.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Review

    croffasia/itsaplan

    A skill your agent uses when reviewing code — a diff, a merge request, a file, a directory, or a feature.

    926 GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed

More from ariel-frischer/autospec

All 9 skills in this repo
  • Autospec Checklist

    ariel-frischer/autospec

    Generate YAML checklist for feature quality validation. An agent skill from ariel-frischer/autospec.

    144 GitHub stars~2.4k tokensUpdated 13 days ago
    Auto-check passed
  • Autospec Clarify

    ariel-frischer/autospec

    Identify underspecified areas in YAML spec and encode clarifications back into the spec.

    144 GitHub stars~2.2k tokensUpdated 13 days ago
    Auto-check passed
  • Autospec Constitution

    ariel-frischer/autospec

    Generate or update project constitution in YAML format. An agent skill from ariel-frischer/autospec.

    144 GitHub stars~2.1k tokensUpdated 13 days ago
    Auto-check passed
  • Autospec Plan

    ariel-frischer/autospec

    Generate YAML implementation plan from feature specification.

    144 GitHub stars~1.7k tokensUpdated 13 days ago
    Auto-check passed
  • Autospec Specify

    ariel-frischer/autospec

    Generate YAML feature specification from natural language description.

    144 GitHub stars~2.5k tokensUpdated 13 days ago
    Auto-check passed
  • Autospec Tasks

    ariel-frischer/autospec

    Generate YAML task breakdown from implementation plan. An agent skill from ariel-frischer/autospec.

    144 GitHub stars~2.5k tokensUpdated 13 days ago
    Auto-check passed

Questions about Autospec Analyze

What does Autospec Analyze do?

Analyze cross-artifact consistency and quality in YAML format. Autospec Analyze is an agent skill from ariel-frischer/autospec. Analyze cross-artifact consistency and quality in YAML format.

When should I use Autospec Analyze?

Autospec Analyze fits situations like: development work in your project.

How do I install Autospec Analyze in Claude Code?

Run `npx skills add ariel-frischer/autospec --skill autospec-analyze -a claude-code`. Or copy the skill folder (.agents/skills/autospec-analyze in ariel-frischer/autospec) into .claude/skills/autospec-analyze in your project. Claude Code loads it when a task matches its description.

How do I install Autospec Analyze in Codex?

Run `npx skills add ariel-frischer/autospec --skill autospec-analyze -a codex`. Or copy the skill folder (.agents/skills/autospec-analyze in ariel-frischer/autospec) into .agents/skills/autospec-analyze in your project. Codex loads it when a task matches its description.

Can I use Autospec Analyze in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ariel-frischer/autospec --skill autospec-analyze -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/autospec-analyze, .gemini/skills/autospec-analyze, .github/skills/autospec-analyze and .opencode/skills/autospec-analyze in your project.

What does Autospec Analyze need to run?

SKILL.md names no scripts, command-line tools or credentials: Autospec Analyze is instructions for the agent only.

Does Autospec Analyze access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Autospec Analyze safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Autospec Analyze use?

Autospec Analyze is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Autospec Analyze use?

About 2.3k tokens (SKILL.md is roughly 9.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Autospec Analyze?

Skills that share tags, products or a category with Autospec Analyze: Run Nx Generator (nrwl/nx, 29k stars), LoopX PR Program Manager (loopx-project/loopx, 6.2k stars), Herdr Pre-Release Audit (herdrdev/herdr, 43k stars) and A2ui Issue Triage (a2ui-project/a2ui, 17k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Autospec Analyze?

ariel-frischer (a GitHub user) maintains it in ariel-frischer/autospec, which has 144 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 28, 2026.

Source: ariel-frischer/autospec on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.