# afinit-com/the-world-skills architecture

> Architecture diagram of the GitHub repository afinit-com/the-world-skills, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/afinit-com/the-world-skills
- Repository: https://github.com/afinit-com/the-world-skills

## Overview

This repository packages agent skills for creating, auditing, and supporting a character-based automation harness. The principal workflow is a user invoking the-world-start to scaffold a project-local harness, verify it, and optionally connect Slack; the installed harness then runs scoped Claude Code or Codex agents on triggers. The map preserves the other documented skills and runtime capabilities. Internal kit links are limited where source excerpts were unavailable; broad workflow links reflect README statements.

Main entry points: [`skills/the-world-start/SKILL.md`](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/SKILL.md) (Create harness), [`skills/the-world-start/assets/kit/world/process/orchestrator.py`](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/process/orchestrator.py) (Agent orchestration), [`skills/the-world-start/assets/kit/world/tools/spec.py`](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/tools/spec.py) (Scoped tools), [`skills/the-world-start/assets/kit/world/channels/slack.py`](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/channels/slack.py) (Slack channel)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_skills["User skills"]
  node_start["Create harness<br/>[SKILL.md]"]
  node_audit["Audit harness<br/>[scan.py]"]
  node_help["Request help<br/>[SKILL.md]"]
  node_envreport["Environment report<br/>[collect_env.py]"]
  node_utilities["Standalone utilities<br/>[SKILL.md]"]
end

subgraph group_harness["Harness runtime"]
  node_kit["Harness kit"]
  node_profile["Harness profile<br/>[profile.py]"]
  node_orchestration["Agent orchestration<br/>[orchestrator.py]"]
  node_triggers["Schedules and triggers<br/>[scheduler.py]"]
  node_state[("Run state<br/>[state.py]")]
  node_map["World map<br/>[world_map.py]"]
end

subgraph group_safety["Scope and safety"]
  node_tools["Scoped tools<br/>[spec.py]"]
  node_guardhooks["Scope guard hooks"]
end

subgraph group_integrations["Channels and providers"]
  node_runners["Agent runners"]
  node_mcp["MCP adapters<br/>[mcp_stdio.py]"]
  node_slack["Slack channel<br/>[slack.py]"]
  node_slackui["Slack approvals<br/>[approvals.py]"]
end

node_user(("Project owner"))
node_agentplatform{{"Claude Code / Codex"}}
node_slackservice{{"Slack service"}}

node_user -->|"invokes"| node_start
node_start -->|"installs kit"| node_kit
node_start -->|"records choices"| node_profile
node_start -->|"scaffolds for"| node_agentplatform
node_start -.->|"connects optionally"| node_slack
node_user -->|"requests review"| node_audit
node_audit -->|"reviews harness"| node_kit
node_user -->|"requests support"| node_help
node_help -->|"collects report"| node_envreport
node_user -->|"runs utility"| node_utilities
node_kit -->|"provides runtime"| node_orchestration
node_orchestration -->|"runs on"| node_triggers
node_orchestration -->|"runs agents"| node_runners
node_runners -->|"invokes"| node_agentplatform
node_orchestration -.->|"tracks runs"| node_state
node_orchestration -->|"equips agents"| node_tools
node_tools -->|"exposes capabilities"| node_mcp
node_tools -->|"enforces scope"| node_guardhooks
node_slack -->|"connects to"| node_slackservice
node_slack -.->|"supports approvals"| node_slackui
node_user -->|"views harness"| node_map

click node_start "https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/SKILL.md"
click node_audit "https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-audit/scan.py"
click node_help "https://github.com/afinit-com/the-world-skills/blob/main/skills/help-my-world/SKILL.md"
click node_envreport "https://github.com/afinit-com/the-world-skills/blob/main/skills/help-my-world/collect_env.py"
click node_utilities "https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-util/SKILL.md"
click node_kit "https://github.com/afinit-com/the-world-skills/tree/main/skills/the-world-start/assets/kit/world"
click node_profile "https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/profile.py"
click node_orchestration "https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/process/orchestrator.py"
click node_triggers "https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/process/scheduler.py"
click node_state "https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/process/state.py"
click node_runners "https://github.com/afinit-com/the-world-skills/tree/main/skills/the-world-start/assets/kit/world/runners"
click node_tools "https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/tools/spec.py"
click node_guardhooks "https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/.claude/hooks/world-scope-guard.py"
click node_mcp "https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/tools/mcp_stdio.py"
click node_slack "https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/channels/slack.py"
click node_slackui "https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/slack/approvals.py"
click node_map "https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/world_map.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_start,node_audit,node_help,node_envreport,node_utilities toneBlue
class node_kit,node_profile,node_orchestration,node_triggers,node_state,node_map toneAmber
class node_tools,node_guardhooks toneMint
class node_runners,node_mcp,node_slack,node_slackui toneRose
class node_user,node_agentplatform,node_slackservice toneIndigo
```

## Components

### User skills

- [Create harness](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/SKILL.md): `skills/the-world-start/SKILL.md`
- [Audit harness](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-audit/scan.py): `skills/the-world-audit/scan.py`
- [Request help](https://github.com/afinit-com/the-world-skills/blob/main/skills/help-my-world/SKILL.md): `skills/help-my-world/SKILL.md`
- [Environment report](https://github.com/afinit-com/the-world-skills/blob/main/skills/help-my-world/collect_env.py): `skills/help-my-world/collect_env.py`
- [Standalone utilities](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-util/SKILL.md): `skills/the-world-util/SKILL.md`

### Harness runtime

- [Harness kit](https://github.com/afinit-com/the-world-skills/tree/main/skills/the-world-start/assets/kit/world): `skills/the-world-start/assets/kit/world`
- [Harness profile](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/profile.py): `skills/the-world-start/assets/kit/world/profile.py`
- [Agent orchestration](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/process/orchestrator.py): `skills/the-world-start/assets/kit/world/process/orchestrator.py`
- [Schedules and triggers](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/process/scheduler.py): `skills/the-world-start/assets/kit/world/process/scheduler.py`
- [Run state](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/process/state.py): `skills/the-world-start/assets/kit/world/process/state.py`
- [World map](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/world_map.py): `skills/the-world-start/assets/kit/world/world_map.py`

### Scope and safety

- [Scoped tools](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/tools/spec.py): `skills/the-world-start/assets/kit/world/tools/spec.py`
- [Scope guard hooks](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/.claude/hooks/world-scope-guard.py): `skills/the-world-start/assets/kit/.claude/hooks/world-scope-guard.py`

### Channels and providers

- [Agent runners](https://github.com/afinit-com/the-world-skills/tree/main/skills/the-world-start/assets/kit/world/runners): `skills/the-world-start/assets/kit/world/runners`
- [MCP adapters](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/tools/mcp_stdio.py): `skills/the-world-start/assets/kit/world/tools/mcp_stdio.py`
- [Slack channel](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/channels/slack.py): `skills/the-world-start/assets/kit/world/channels/slack.py`
- [Slack approvals](https://github.com/afinit-com/the-world-skills/blob/main/skills/the-world-start/assets/kit/world/slack/approvals.py): `skills/the-world-start/assets/kit/world/slack/approvals.py`

### Other components

- **Project owner**
- **Claude Code / Codex**
- **Slack service**

## Connections

- Project owner → Create harness: invokes (evidence: `README.md`)
- Create harness → Harness kit: installs kit (evidence: `README.md`)
- Create harness → Harness profile: records choices (evidence: `README.md`)
- Create harness → Claude Code / Codex: scaffolds for (evidence: `README.md`)
- Create harness → Slack channel: connects optionally (evidence: `README.md`)
- Project owner → Audit harness: requests review (evidence: `README.md`)
- Audit harness → Harness kit: reviews harness (evidence: `README.md`)
- Project owner → Request help: requests support (evidence: `README.md`)
- Request help → Environment report: collects report (evidence: `README.md`)
- Project owner → Standalone utilities: runs utility (evidence: `README.md`)
- Harness kit → Agent orchestration: provides runtime (evidence: `README.md`)
- Agent orchestration → Schedules and triggers: runs on (evidence: `README.md`)
- Agent orchestration → Agent runners: runs agents (evidence: `README.md`)
- Agent runners → Claude Code / Codex: invokes (evidence: `README.md`)
- Agent orchestration → Run state: tracks runs
- Agent orchestration → Scoped tools: equips agents (evidence: `README.md`)
- Scoped tools → MCP adapters: exposes capabilities (evidence: `README.md`)
- Scoped tools → Scope guard hooks: enforces scope (evidence: `README.md`)
- Slack channel → Slack service: connects to (evidence: `README.md`)
- Slack channel → Slack approvals: supports approvals
- Project owner → World map: views harness (evidence: `README.md`)
