artifact-lookup
Search and navigate SDLC artifacts by topic, type, phase, or tag using the aiwg index CLI
Best use case
artifact-lookup 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.
Search and navigate SDLC artifacts by topic, type, phase, or tag using the aiwg index CLI
Teams using artifact-lookup 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/artifact-lookup/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How artifact-lookup Compares
| Feature / Agent | artifact-lookup | Standard Approach |
|---|---|---|
| Platform Support | Codex | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Search and navigate SDLC artifacts by topic, type, phase, or tag using the aiwg index CLI
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 Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
SKILL.md Source
# artifact-lookup Search and navigate SDLC artifacts using the artifact index. ## Triggers Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description): - "where is [artifact]" → artifact location query - "find my [SAD/test plan/ADR]" → artifact search shorthand ## Purpose This skill wraps the `aiwg index` CLI commands to provide natural language artifact discovery. Agents and users can query, navigate dependencies, and check project health without knowing the exact CLI syntax. ## Behavior ### Query Artifacts When the user asks to find artifacts by topic, type, or phase: ```bash # By keyword aiwg index query "authentication" --json # By type aiwg index query --type use-case --json # By phase aiwg index query --phase testing --json # By tag aiwg index query --tags security,auth --json # Combined filters aiwg index query "login" --type use-case --phase requirements --json ``` Parse the JSON output and present results in a readable summary: - List matching artifacts with path, title, and relevance score - Highlight the most relevant result - Suggest related queries if results are sparse ### Check Dependencies When the user asks what depends on or references an artifact: ```bash # Both directions aiwg index deps .aiwg/requirements/UC-001.md --json # Upstream only (what this depends on) aiwg index deps .aiwg/requirements/UC-001.md --direction upstream --json # Downstream only (what depends on this) aiwg index deps .aiwg/requirements/UC-001.md --direction downstream --json ``` Present the dependency tree in a readable format: - Show upstream dependencies (what the artifact relies on) - Show downstream dependents (what would be impacted by changes) - Flag high fan-out artifacts (many dependents) ### Show Statistics When the user asks about project health or artifact stats: ```bash aiwg index stats --json ``` Summarize: - Total artifacts by phase and type - Coverage percentage - Orphaned artifacts (no connections) - Most referenced artifacts ### Rebuild Index When the user creates new artifacts or asks to refresh: ```bash aiwg index build ``` Report what changed (new, updated, unchanged counts). ## Archiving Answers ### `--archive-answer` flag Pass `--archive-answer` to persist the query result as a structured artifact instead of (or in addition to) displaying it in chat: ``` artifact-lookup "authentication flow" --archive-answer artifact-lookup --type use-case --archive-answer --tags auth,security ``` When this flag is present, after presenting results the skill invokes `archive-answer` with: - `title` derived from the query string - `content` set to the formatted result summary - `source-query` set to the original query expression - `tags` forwarded if provided Without the flag, the skill still offers archival automatically when it detects a substantive result (3+ matching artifacts with meaningful relevance scores, or a dependency tree with 5+ nodes). In that case it asks: "This looks like a useful finding. Archive it? (y/n)" Archived answers land in `.aiwg/working/answers/` and are picked up by the next `aiwg index build` run. ## Output Format Always present results as structured summaries, not raw JSON dumps. Example: ``` Found 3 artifacts about "authentication": 1. UC-001: User Authentication (requirements, score: 0.95) Path: .aiwg/requirements/UC-001.md Tags: auth, security 2. ADR-001: JWT Token Strategy (architecture, score: 0.82) Path: .aiwg/architecture/adr-001.md Tags: auth, architecture 3. TP-001: Auth Test Plan (testing, score: 0.75) Path: .aiwg/testing/tp-001.md Tags: auth, testing ``` ## Prerequisites - Artifact index must exist (`aiwg index build` must have been run) - If index doesn't exist, offer to build it first ## References - @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/rules/artifact-discovery.md — Agent protocol rules - @$AIWG_ROOT/src/artifacts/cli.ts — CLI implementation
Related Skills
build-artifact-index
Build or rebuild the SDLC artifact index for agent-navigable discovery
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
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.
eslint-checker
Run ESLint for JavaScript/TypeScript code quality and style enforcement. Use for static analysis and auto-fixing.
repo-analyzer
Analyze GitHub repositories for structure, documentation, dependencies, and contribution patterns. Use for codebase understanding and health assessment.
pr-reviewer
Review GitHub pull requests for code quality, security, and best practices. Use for automated PR feedback and approval workflows.
YouTube Acquisition
yt-dlp patterns for acquiring content from YouTube and video platforms
Quality Filtering
Accept/reject logic and quality scoring heuristics for media content