Arckit agent inventory

From tractorjuice/arckit-codex · View interactive version

Arckit agent inventory is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. Catalog existing AI agents with capabilities, security classification, and oversight level

How to use this skill

Skill file

You are helping an enterprise architect create a comprehensive AI agent inventory that catalogs all existing AI agents across the programme — documenting capabilities, security posture, and human oversight levels.

User Input

$ARGUMENTS

Instructions

Note: Before generating, scan projects/ for existing project directories. For each project, list all ARC-*.md artifacts, check external/ for reference documents, and check 000-global/ for cross-project policies. If no external docs exist but they would improve output, ask the user.

Prerequisites

  1. Determine inventory scope:

Ask the user: "What scope should this agent inventory cover? (e.g., all agents across the organisation, a specific project, or a specific environment like production/staging)"

Use the user's input and $ARGUMENTS to determine scope.

  1. Read existing artifacts from the project context:

RECOMMENDED (read if available, note if missing):

OPTIONAL (read if available, skip silently if missing):

  1. Identify the target project:

1. Use Glob to list projects/*/ directories and find the highest NNN-* number (or start at 001 if none exist)

2. Calculate the next number (zero-padded to 3 digits, e.g., 002)

3. Slugify the project name (lowercase, replace non-alphanumeric with hyphens, trim)

4. Use the Write tool to create projects/{NNN}-{slug}/README.md with the project name, ID, and date — the Write tool will create all parent directories automatically

5. Also create projects/{NNN}-{slug}/external/README.md with a note to place external reference documents here

6. Set PROJECT_ID = the 3-digit number, PROJECT_PATH = the new directory path

  1. Read the template (with user override support):

> Tip: Users can customize templates with $arckit-customize agent-inventory

  1. Catalog agents from all sources:

Search for existing agent definitions across:

For each agent found, document:

> If fewer than 3 agents are found, ask the user: "I've identified fewer than 3 agents. Do you have additional agents to include, or should I proceed with the agents found?", with "Proceed with the agents found (Recommended)" and "I have more to add" as its options, as .arckit/references/interview-pattern.md sets out. With no answer, proceed with the agents found and list that as an assumption.

  1. Build the agent inventory:

A. Agent Register:

B. Capability Matrix:

C. Agent Dependencies (Mermaid flowchart):

D. Security Classification:

E. Agent Lifecycle:

F. Oversight Model:

  1. Read the quality checklist:

Before writing the file, read .arckit/references/quality-checklist.md and verify all Common Checks plus the AAGI per-type checks pass. Fix any failures before proceeding.

  1. Write the output:

IMPORTANT - Auto-Populate Document Information Fields:

Before completing the document, populate document information fields:

Auto-populated fields

User-provided fields

Revision History

| 1.0 | {DATE} | ArcKit AI | Initial creation from `$arckit-agent-inventory` command |

Generation Metadata Footer

**Generated by**: ArcKit `$arckit-agent-inventory` command
**Generated on**: {DATE}
**ArcKit Version**: {ARCKIT_VERSION}
**Project**: {PROJECT_NAME} (Project {PROJECT_ID})
**AI Model**: [Actual model name]
  1. Summarize what you created:

Example Usage

User: $arckit-agent-inventory Catalog all AI agents in the data processing pipeline

You should:

Important Notes

Integration with Other Commands

Quality Checks

Before writing the output file, verify:

Output Instructions

CRITICAL - Token Efficiency:

1. Generate Agent Inventory

Create the comprehensive agent inventory following the template structure with all sections.

2. Write Directly to File

Use the Write tool to create projects/{project-dir}/ARC-{PROJECT_ID}-AAGI-v{VERSION}.md with the complete agent inventory.

DO NOT output the full document in your response. This would exceed token limits.

3. Show Summary Only

After writing the file, show ONLY a concise summary:

## Agent Inventory Complete ✅

**Project**: [Project Name]
**File Created**: `projects/[PROJECT]/ARC-{PROJECT_ID}-AAGI-v{VERSION}.md`

### Inventory Summary

**Agents**: [Number] agents catalogued
- Production: [Number]
- Staging: [Number]
- Development: [Number]
- Planned: [Number]

**Risk Levels**:
- Critical: [Number]
- High: [Number]
- Medium: [Number]
- Low: [Number]

**Oversight**:
- Human-in-the-loop: [Number]
- Human-on-the-loop: [Number]
- Human-out-of-the-loop: [Number]

**Dependencies**: [Number] agent-to-agent connections mapped

### What's in the Document

- Agent Register (complete table with ID, name, purpose, model, owner, risk, oversight)
- Capability Matrix (tools, skills, memory, outputs per agent)
- Dependency Map (Mermaid flowchart)
- Security Classification (sensitivity, access, isolation, audit)
- Agent Lifecycle (status, dates, versions)
- Oversight Model (per-agent oversight level, approval gates, monitoring, escalation)
- Traceability (ADMP, APP, PRIN links)

### Next Steps

- Run `$arckit-agent-design` to design architecture for new or modified agents
- Then run `$arckit-agent-governance` to establish oversight frameworks
- Then run `$arckit-agent-security` to assess security posture for inventoried agents

Statistics to Include:

Generate the agent inventory now, write to file using Write tool, and show only the summary above.

Suggested Next Steps

After completing this command, consider running:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.