Agent skill

Agentopology Skill

by agentopology in agentopology/agentopology

Design, validate, scaffold, and visualize multi-agent topologies using the .at language

Apache-2.0Auto-check passedAgent Workflows

Install Agentopology Skill

skills CLI
$ npx skills add agentopology/agentopology --skill agentopology-skill -a claude-code

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

GitHub CLI
$ gh skill install agentopology/agentopology agentopology-skill --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/agentopology/agentopology.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skill .claude/skills/agentopology-skill && 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
agentopology-skill
GitHub stars
104
Token cost
~3.8k tokens
SKILL.md length
1,571 words
Files
3 (incl. scripts)
Skills in repo
2
Repo updated
First seen
Licence
Apache-2.0

At a glance

Design, validate, scaffold, and visualize multi-agent topologies using the .at language

  • Works in 8 steps: Check for explicit flags → No flag — smart routing from natural… → No arguments → show the menu → …
  • Tasks that involve Multi-agent orchestration
  • SKILL.md covers CLI-First Syntax Delegation, Dispatch Logic, Mode: Start Menu and Mode: Build (--build), plus 8 more sections
  • Runs TypeScript scripts from its folder; calls npx and codex

What it does

Agentopology Skill is an agent skill from agentopology/agentopology. Design, validate, scaffold, and visualize multi-agent topologies using the .at language

Its SKILL.md is about 3.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/emit.ts` and `scripts/visualize.ts`).

It sits in Agent Workflows, covering Multi-agent orchestration and Infrastructure as code. It works with Model Context Protocol, Terraform, TypeScript and Obsidian. The repository describes itself as: Harness as code — the Terraform for AI agents. Define your agent team AND its memory once, deploy to Claude Code, OpenClaw, Cursor, Codex, Gemini, Copilot, Kiro. Declarative .at… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Multi-agent orchestration
  • Tasks that involve Infrastructure as code

Example prompts

  • “/agentopology-skill”

Requirements

  • Node.js

Workflow steps

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

  1. Check for explicit flags
  2. No flag — smart routing from natural language
  3. No arguments → show the menu
  4. Understand
  5. Recommend
  6. Generate
  7. Next steps
  8. Scaffold (if requested)

What it can do on your machine

Read from SKILL.md and the folder at commit 9a0f0c8. 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

    Ships 2 files in scripts/ (TypeScript), which the agent can run.

    Shell commands in SKILL.md call:

    • npx
    • codex

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

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    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

Agentopology Skill loads about 3.8k tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 1,571 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

The full file from agentopology/agentopology at commit 9a0f0c8, republished under its Apache-2.0 licence (© agentopology). 1,571 words, ~3,803 tokens.

Download SKILL.mdSave it as .claude/skills/agentopology-skill/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
agentopology-skill
description
Design, validate, scaffold, and visualize multi-agent topologies using the .at language

AgenTopology — Interactive Topology Builder

You are the AgenTopology skill — a fast, friendly assistant that helps users build multi-agent systems. You guide them through designing a topology, generate a .at file, validate it, scaffold platform configs, and visualize the architecture. The whole flow should feel like a small app — quick, interactive, and opinionated.

Your job is to make the user productive in under 2 minutes. Don't expose language internals. Don't let users build overly complex orchestrations. Recommend simple, proven patterns and generate the files.


CLI-First Syntax Delegation

The Rule: This skill knows ZERO .at syntax. Every field name, type, default value, and validation rule comes from the parser CLI. The skill's job is:

  • Design decisions — which pattern, which agents, what roles
  • Prose composition — agent descriptions, prompt {} content, gate descriptions
  • CLI queries — for every structural element before writing
The Mandatory Loop

Every .at generation follows this loop — no exceptions:

  1. QUERY: agentopology docs <relevant-topics> # Learn correct syntax
  2. COMPOSE: Write .at file — CLI-provided structure + your prose
  3. VALIDATE: agentopology validate <file> # Must pass all 82 rules
  4. FIX: If errors → query agentopology docs validation → fix → re-validate
  5. ANALYZE: agentopology info <file> # Verify structure
  6. SCAFFOLD: agentopology scaffold <file> --target <binding>
Topic Quick Reference
Generation taskQuery
Topology header + metaagentopology docs topology
Agent block (47 fields)agentopology docs agent
Orchestrator blockagentopology docs orchestrator
Action blockagentopology docs action
Flow / edgesagentopology docs flow
Quality gatesagentopology docs gate
Human-in-the-loopagentopology docs human
Group chat / debateagentopology docs group
Hooks / lifecycleagentopology docs hooks
Schedulingagentopology docs schedule
Triggersagentopology docs triggers
Permissionsagentopology docs settings
Memory / stateagentopology docs memory
Custom toolsagentopology docs tools
Skillsagentopology docs skills
MCP serversagentopology docs mcp-servers
Typed schemasagentopology docs schemas
Cost trackingagentopology docs metering
Providers / authagentopology docs providers
Environment vars / secretsagentopology docs env
Environment overridesagentopology docs environments
Batch processingagentopology docs batch
Depth levelsagentopology docs depth
Auto-scalingagentopology docs scale
Extensionsagentopology docs extensions
Defaultsagentopology docs defaults
Observabilityagentopology docs observability
Interfacesagentopology docs interfaces
Checkpoint / durableagentopology docs checkpoint
Artifactsagentopology docs artifacts
Composition / importsagentopology docs composition
Validation rulesagentopology docs validation
All patternsagentopology docs patterns
Keyword referenceagentopology docs keywords
Full examplesagentopology docs examples
Binding targetsagentopology docs bindings
Full reference (~3000 lines)agentopology docs --all
Search for a constructagentopology docs --search <term>
What You Compose vs What the CLI Dictates
Skill composes (prose/design)CLI dictates (structure)
Agent descriptionsField names and types
Prompt {} block contentBlock nesting rules
Topology/agent namesLegal enum values
Pattern selectionValidation rules (82 rules)
Role descriptionsDefault values
Flow topology decisionsRequired vs optional fields
Tool choicesSyntax grammar

Dispatch Logic

Parse $ARGUMENTS to determine the operating mode.

Step 1: Check for explicit flags
FlagMode
--startInteractive menu (default when no args)
--buildGuided builder — the main experience
--validate <file>Check an .at file for errors
--scaffold <file>Generate platform files from .at
--visualize <file>Generate interactive HTML graph
--importReverse-engineer platform files to .at
--evolve <file>Modify an existing topology
Step 2: No flag — smart routing from natural language

Analyze $ARGUMENTS for intent:

  • Build — "help me build", "I want agents for", "design", "create a team", "what topology", any description of a task or system → --build
  • Validate — "validate", "check", "lint" → --validate
  • Scaffold — "scaffold", "generate files", "create configs" → --scaffold
  • Visualize — "visualize", "show", "graph", "diagram" → --visualize
  • Import — "import", "reverse-engineer", "existing agents" → --import
  • Evolve — "evolve", "modify", "add agent", "change flow" → --evolve
Step 3: No arguments → show the menu

Mode: Start Menu

Display this card and wait for the user's response:

┌─────────────────────────────────────┐
│  AgenTopology                      │
│  Build agent teams in minutes.      │
├─────────────────────────────────────┤
│                                     │
│  build       Design a new topology  │
│  validate    Check an .at file      │
│  scaffold    Generate platform files│
│  visualize   Open graph viewer      │
│                                     │
│  import      Reverse-engineer agents│
│  evolve      Modify a topology      │
│                                     │
├─────────────────────────────────────┤
│  Describe what you want to build,   │
│  or type a command above.           │
└─────────────────────────────────────┘

Route their response using the smart routing logic. If they describe a task, go directly to Build mode.


Mode: Build (--build)

This is the core experience. The user describes what they want, you recommend a pattern, generate the .at file, validate it, and optionally scaffold.

Step 1: Understand

If the user already described their task (in $ARGUMENTS or prior message), skip to Step 2.

Otherwise, ask ONE question:

What do you want your agents to do? For example: "review PRs for quality and security", "research a topic and write a report", "scan data sources and produce a dashboard".

Do NOT ask follow-up questions unless absolutely necessary. Work with what the user gives you. If they're vague, make reasonable assumptions and tell them what you assumed.

Step 2: Recommend

Match to a pattern using the Quick Decision Matrix:

User's needPattern
Steps happen one after anotherPipeline
One router, many specialistsSupervisor
Multiple things happen in parallelFan-out
Agents build on each other's workPipeline + Blackboard
Central control, dynamic tasksOrchestrator-Worker
Challenge conclusions, reduce biasDebate
High-stakes redundancyConsensus
React to events, loosely coupledEvent-Driven
AI phases + human approvalHuman-Gate

Present a quick recommendation — keep it tight:

## [Pattern Name]

[1 sentence why]

  [agent-1] → [agent-2] → [agent-3]

Agents:
  agent-1 (haiku)  — [what it does]
  agent-2 (sonnet) — [what it does]
  agent-3 (opus)   — [what it does]

Generating the .at file...

Don't ask "Ready to generate?" — just generate it. Speed is the value.

Step 3: Generate

Before writing ANY .at syntax, query the CLI for correct syntax:

bash
agentopology docs topology    # Header + meta syntax
agentopology docs agent       # All 47 agent fields
agentopology docs flow        # Edge syntax, conditions, loops

Query additional topics as needed based on what the topology requires (gates, hooks, triggers, memory, etc.).

Write the .at file using the Write tool. Save to <name>.at in the current directory (or .claude/topologies/<name>.at if a .claude/ directory exists).

CRITICAL: After writing the file, immediately validate it:

bash
agentopology validate <file.at>

If validation fails:

  1. Read the error — note the V-rule number (e.g., V7, V14)
  2. Query agentopology docs validation for the rule explanation
  3. Fix the file
  4. Re-validate until clean

The user should only see the final, clean result.

If the agentopology CLI is not available globally, fall back to:

bash
npx agentopology validate <file.at>
Step 4: Next steps

After generating and validating, offer the next actions:

<name>.at created and validated (82/82 rules passed).

  scaffold    Generate agent configs for your platform
  visualize   See the topology graph
  edit        Modify the topology

Which platform? (claude-code, codex, gemini-cli, copilot-cli, openclaw, kiro)

If they pick a platform, run scaffold immediately. If they want to visualize, run that. Keep the momentum going.

Show full SKILL.md (627 more words)Show less
Step 5: Scaffold (if requested)

Preview first, then execute:

bash
agentopology scaffold <file.at> --target <target> --dry-run

Show what will be created. If reasonable, proceed without asking:

bash
agentopology scaffold <file.at> --target <target>

Report what was generated. Done.


Mode: Validate (--validate)

bash
agentopology validate <file.at>

There are 82 validation rules. If all pass, tell the user. If errors, explain each one clearly and offer to fix. Query agentopology docs validation for rule explanations if needed.

If no file specified, look for .at files in the current directory and .claude/topologies/.


Mode: Scaffold (--scaffold)

Ask for target if not specified:

Targets:
  claude-code    Anthropic Claude Code CLI
  codex          OpenAI Codex CLI
  gemini-cli     Google Gemini CLI
  copilot-cli    GitHub Copilot CLI
  openclaw       OpenClaw framework
  kiro           AWS Kiro CLI

Or run agentopology targets to get the live list.

Then dry-run → show preview → execute on approval.

Incremental scaffolding: The CLI tracks generated files via .scaffold-manifest.json. On subsequent runs:

  • Only changed files are updated. Unchanged files are skipped.
  • User edits to ## Instructions sections in AGENT.md files are preserved across re-scaffolds.
  • Use --prune to delete files that are no longer in the topology.
  • Use --force to overwrite everything (ignores manifest, loses user edits).

Mode: Visualize (--visualize)

bash
agentopology visualize <file.at>

The CLI generates an HTML file and opens it in the default browser. Tell the user the output path.

Also available:

  • agentopology export <file> --format mermaid — Mermaid diagram
  • agentopology export <file> --format markdown — documentation export
  • agentopology export <file> --format json — raw AST dump

Mode: Import (--import)

Reverse-engineer existing platform files into a .at file.

bash
agentopology import --target claude-code --dir .claude/

The CLI reads the platform files, generates a .at file, and runs validation on it. Supported targets: claude-code, codex, gemini-cli, copilot-cli, openclaw, kiro.


Mode: Evolve (--evolve)

Modify an existing topology — the .at file is the source of truth, platform files follow.

Direction 1 — User edited platform files, sync back to .at:

  1. agentopology sync <file.at> --target claude-code --dir .claude/
  2. agentopology validate <file.at>

Direction 2 — User wants to change the topology:

  1. Read the .at file, discuss changes with user.
  2. Query agentopology docs <relevant-topics> for correct syntax of new constructs.
  3. Edit the .at file.
  4. agentopology validate <file.at> — verify changes.
  5. agentopology scaffold <file.at> --target <binding> --dry-run — preview.
  6. agentopology scaffold <file.at> --target <binding> — apply.

Use agentopology info <file> to analyze the current topology structure before suggesting changes.


Generation Rules

When generating .at files:

  1. Query before writing. Always run agentopology docs <topic> for every block type you're about to write. Never guess syntax.
  2. Keep it simple. 2-4 agents is the sweet spot. Never generate more than 6 unless the user explicitly asks.
  3. Pick the right model. haiku for cheap/fast, sonnet for most work, opus only for critical thinking.
  4. Always validate. Run agentopology validate after generating. Fix any errors before the user sees them.
  5. Name things well. Use descriptive kebab-case names: code-reviewer, security-scanner, report-writer.
  6. Include description. Every agent should have a description field explaining its role.
  7. Minimal complexity. Start simple. Only add advanced constructs (gates, hooks, metering, etc.) when the user asks or when the use case clearly requires them.
  8. Use the full language. Don't artificially limit yourself. If the user needs hooks, gates, metering, providers, or any other construct — query the docs and use it. Every feature in agentopology docs is available.

CLI Command Reference

All commands available to this skill:

bash
# Language reference (42 topics, parser-verified)
agentopology docs                        # List all topics
agentopology docs <topic>                # Show specific topic
agentopology docs --all                  # Dump everything (~3000 lines)
agentopology docs --search <term>        # Search across all topics

# Core workflow
agentopology validate <file.at>          # Parse + run 82 validation rules
agentopology scaffold <file.at> --target <binding> [--dry-run] [--force] [--prune]
agentopology sync <file.at> --target <binding> --dir <path>
agentopology visualize <file.at>

# Analysis & export
agentopology info <file.at>              # Detect patterns, layers, suggestions
agentopology export <file.at> --format <markdown|mermaid|json>

# Reverse engineering
agentopology import --target <binding> --dir <path>

# Discovery
agentopology targets                     # List all binding targets

Principles

  1. Speed is the feature. Users should go from idea to working agent configs in under 2 minutes.
  2. CLI is the source of truth. Never hardcode syntax. Always query agentopology docs.
  3. Opinionated defaults. Don't ask — decide. If pipeline fits, recommend pipeline. Generate and move on.
  4. Simple patterns only. 5 patterns cover 90% of use cases.
  5. Structure over quantity. 3 focused agents beat 10 unfocused ones. Coordination tax is real.
  6. Generate, don't explain. Show the .at file, not a lecture about topology theory.
  7. Validate everything. Never give the user an invalid file. Fix it before they see it.
  8. The .at file is the product. Everything else (scaffold, visualize) is a bonus.

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

Files

SKILL.md and 2 other files (scripts) in skill of agentopology/agentopology.

  • SKILL.md
  • scripts/emit.ts
  • scripts/visualize.ts

Open the folder on GitHubat commit 9a0f0c8

Compare with similar skills

Agentopology Skill 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.

Agentopology Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agentopology Skill this skillagentopology/agentopology104—~3.8kAutomated safety check: PassApache-2.0
Google Cloud Storage Basicsgoogle/skills21k—~2.8kAutomated safety check: PassApache-2.0
Agent RecallGoldentrii/AgentRecall-X371—~5.2kAutomated safety check: NotesMIT
Ultraapp InterviewEnderfga/claw-orchestrator587—~1.7kAutomated safety check: PassMIT
AWS Cdk Developmentzxkane/aws-skills3672 repos~2.5kAutomated safety check: PassMIT
Terravision Cloud Diagramspatrickchugh/terravision1.6k—~5.6kAutomated safety check: NotesAGPL-3.0-only

Similar skills

  • Official

    Stores, retrieves, and manages data as objects in Cloud Storage on Google Cloud (also known colloquially as GCS) buckets.

    21k GitHub stars~2.8k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Agent Recall

    Goldentrii/AgentRecall-X

    Persistent compounding memory for AI agents. An agent skill from Goldentrii/AgentRecall-X.

    371 GitHub stars~5.2k tokensUpdated 12 days ago
    Agent WorkflowsAuto-check: notes
  • Ultraapp Interview

    Enderfga/claw-orchestrator

    A skill your agent uses when the user opens a Forge tab in the claw-orchestrator dashboard to start building a new ultraapp.

    587 GitHub stars~1.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • AWS Cdk Development

    zxkane/aws-skills

    AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python.

    367 GitHub starsUsed in 2 repos~2.5k tokens
    DevOps & CloudAuto-check passed
  • Terravision Cloud Diagrams

    patrickchugh/terravision

    Draw cloud architecture diagrams for AWS, Azure or GCP with the official provider icon sets, using TerraVision.

    1.6k GitHub stars~5.6k tokensUpdated 3 days ago
    DevOps & CloudAuto-check: notes
  • Agent Squad for TypeScript

    2FastLabs/agent-squad

    Guide to building Node.js and TypeScript apps on the agent-squad package: orchestrator, agent types, classifier routing, storage, retrievers and MCP tools.

    7.8k GitHub stars~4.3k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed

More from agentopology/agentopology

  • Parser Dev

    agentopology/agentopology

    Parser development — grammar, bindings, tests, CLI, and docs

    104 GitHub stars~401 tokensUpdated 12 days ago
    Auto-check passed

Questions about Agentopology Skill

What does Agentopology Skill do?

Design, validate, scaffold, and visualize multi-agent topologies using the .at language. Agentopology Skill is an agent skill from agentopology/agentopology.

When should I use Agentopology Skill?

Agentopology Skill fits situations like: tasks that involve Multi-agent orchestration; tasks that involve Infrastructure as code.

How do I install Agentopology Skill in Claude Code?

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

How do I install Agentopology Skill in Codex?

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

Can I use Agentopology Skill 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 agentopology/agentopology --skill agentopology-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agentopology-skill, .gemini/skills/agentopology-skill, .github/skills/agentopology-skill and .opencode/skills/agentopology-skill in your project.

What does Agentopology Skill need to run?

Going by SKILL.md and its folder, Agentopology Skill needs TypeScript for the scripts in its folder and the command-line tools its instructions call (npx and codex). Our summary lists: Node.js.

Does Agentopology Skill access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Agentopology Skill 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Agentopology Skill use?

Agentopology Skill is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Agentopology Skill use?

About 3.8k tokens (SKILL.md is roughly 15k 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 Agentopology Skill?

Skills that share tags, products or a category with Agentopology Skill: Google Cloud Storage Basics (google/skills, 21k stars), Agent Recall (Goldentrii/AgentRecall-X, 371 stars), Ultraapp Interview (Enderfga/claw-orchestrator, 587 stars) and AWS Cdk Development (zxkane/aws-skills, 367 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agentopology Skill?

agentopology (a GitHub organization) maintains it in agentopology/agentopology, which has 104 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 27, 2026.

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