build-artifact-index
Build or rebuild the SDLC artifact index for agent-navigable discovery
Best use case
build-artifact-index is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
It is a strong fit for teams already working in Codex.
Build or rebuild the SDLC artifact index for agent-navigable discovery
Teams using build-artifact-index should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/build-artifact-index/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How build-artifact-index Compares
| Feature / Agent | build-artifact-index | Standard Approach |
|---|---|---|
| Platform Support | Codex | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Build or rebuild the SDLC artifact index for agent-navigable discovery
Which AI agents support this skill?
This skill is designed for Codex.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
AI Agent for Product Research
Browse AI agent skills for product research, competitive analysis, customer discovery, and structured product decision support.
SKILL.md Source
# Build Artifact Index ## Task Build or refresh the artifact index that powers `aiwg index query`, `aiwg index deps`, and `aiwg index stats`. This is the entry point for ensuring agents can discover and navigate project artifacts efficiently. ## Behavior ### Primary: Use `aiwg index build` ```bash # Standard rebuild (incremental) aiwg index build # Full rebuild (ignore cache) aiwg index build --force # With progress output aiwg index build --verbose ``` Report what changed: new artifacts indexed, updated, unchanged, and removed counts. ### Archived Query Answers The index includes files in `.aiwg/working/answers/` automatically. These are answers persisted by the `archive-answer` skill and appear in query results and dependency graphs alongside permanent artifacts. Their `status: working` frontmatter field signals they are candidates for promotion to a permanent destination (e.g., `.aiwg/architecture/`, `.aiwg/reports/`). Use the index to find stale working answers that should be promoted or discarded. ### Fallback: Manual Digest Generation If `aiwg index build` is not available (CLI not installed), fall back to manual scanning: 1. Walk `.aiwg/` for all artifact files 2. Extract titles and short summaries from frontmatter/headings 3. Write digest files to `.aiwg/working/digests/` 4. Generate or update `_index.yaml` with paths, summaries, and timestamps ### Post-Build Verification After building, verify the index is healthy: ```bash aiwg index stats --json ``` Report total artifacts indexed, coverage by phase, and any orphaned artifacts. ## When to Run - After creating new SDLC artifacts - After modifying existing artifact references - At the start of a new SDLC phase - When `aiwg index query` returns stale results ## References - @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/rules/artifact-discovery.md — Agent protocol rules - @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/skills/artifact-lookup/SKILL.md — Query skill - @$AIWG_ROOT/src/artifacts/cli.ts — CLI implementation
Related Skills
customize-rebuild
Rebuild and redeploy AIWG from local customization source — makes recent edits live
skill-builder
Build Claude skills from extracted documentation. Use after doc-scraper/pdf-extractor to generate uploadable skill packages.
index
Build, query, inspect dependencies, and report statistics for the searchable index of SDLC artifacts in .aiwg/
corpus-index-build
Build graph indices (by-topic, by-year, authors, citation-network) from corpus state using definitions in .aiwg/config.yaml. Replaces manual 3-agent dispatch with a single command.
build-poc
Build a Proof of Concept (PoC) to validate technical feasibility and retire architectural risks
artifact-orchestration
Orchestrate multi-agent artifact generation using the Primary Author, Parallel Reviewers, Synthesizer, Archive pattern
artifact-metadata
Manage artifact metadata, versioning, ownership, and review history across the SDLC lifecycle
artifact-lookup
Search and navigate SDLC artifacts by topic, type, phase, or tag using the aiwg index CLI
aiwg-orchestrate
Route structured artifact work to AIWG workflows via MCP with zero parent context cost
venv-manager
Create, manage, and validate Python virtual environments. Use for project isolation and dependency management.
pytest-runner
Execute Python tests with pytest, supporting fixtures, markers, coverage, and parallel execution. Use for Python test automation.
vitest-runner
Execute JavaScript/TypeScript tests with Vitest, supporting coverage, watch mode, and parallel execution. Use for JS/TS test automation.