workspace/hyodo/skills/kingdom-navigator/SKILL.md
This skill should be used when the user asks "where is", "find file", "navigate to", "project structure", "which file handles", or needs to locate specific functionality in the AFO Kingdom codebase. Provides intelligent navigation based on MAP_OF_KINGDOM.md and CONTEXT_COMPASS.yaml.
npx skillsauth add lofibrainwav/kingdom kingdom-navigatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Your guide to navigating the AFO Kingdom codebase. Uses the royal map and compass to find any destination.
./
├── packages/ # Core packages (monorepo)
│ ├── afo-core/ # Backend (FastAPI, Chancellor)
│ ├── trinity-os/ # Philosophy engine
│ ├── dashboard/ # Frontend (Next.js 16)
│ └── sixXon/ # CLI interface
├── .claude/ # Claude Code configuration
│ ├── commands/ # 25 slash commands
│ ├── agents/ # Autonomous agents
│ └── mcp.json # 9 MCP servers
├── skills/ # 23 skill modules
├── scripts/ # 400+ automation scripts
├── tools/ # 44 tool packages
├── docs/ # 240+ documentation files
└── tests/ # Test suites
| Domain | Path | Key Files |
|--------|------|-----------|
| Backend API | packages/afo-core/ | api/, AFO/ |
| Trinity Score | packages/trinity-os/trinity_os/ | core/, servers/ |
| Frontend UI | packages/dashboard/ | src/app/, components/ |
| CLI | packages/sixXon/ | docs/SIXXON_*.md |
| MCP Servers | packages/trinity-os/trinity_os/servers/ | *_mcp.py |
| Need | Location |
|------|----------|
| Trinity Score calculation | packages/trinity-os/trinity_os/servers/trinity_score_mcp.py |
| Chancellor orchestration | packages/afo-core/api/chancellor_v2/ |
| 3 Strategists logic | packages/afo-core/AFO/chancellor/ |
| Dashboard components | packages/dashboard/src/components/ |
| API endpoints | packages/afo-core/api/ |
| Skills definitions | skills/*/SKILL.md |
| Commands | .claude/commands/*.md |
| File Type | Glob Pattern |
|-----------|--------------|
| Python source | packages/**/*.py |
| TypeScript | packages/dashboard/**/*.tsx |
| Commands | .claude/commands/*.md |
| Skills | skills/*/SKILL.md |
| MCP servers | **/servers/*_mcp.py |
| Tests | tests/**/*.py |
| Document | Path | Purpose |
|----------|------|---------|
| MAP_OF_KINGDOM | docs/MAP_OF_KINGDOM.md | Complete documentation index |
| CONTEXT_COMPASS | .claude/CONTEXT_COMPASS.yaml | Navigation guide |
| CLAUDE.md (Root) | CLAUDE.md | Master guidelines |
| SSOT | docs/AFO_FINAL_SSOT.md | Single source of truth |
Use these to explore:
# Find all Trinity-related files
Glob: **/trinity*.py
# Find Chancellor implementation
Grep: "class Chancellor"
# Find API endpoints
Grep: "@router\." path:packages/afo-core/api
# Find skill definitions
Glob: skills/*/SKILL.md
| Server | Path |
|--------|------|
| afo-ultimate-mcp | trinity_os/servers/afo_ultimate_mcp_server.py |
| trinity-score-mcp | trinity_os/servers/trinity_score_mcp.py |
| afo-skills-mcp | trinity_os/servers/afo_skills_mcp.py |
| afo-obsidian-mcp | trinity_os/servers/obsidian_mcp.py |
| context7 | External (npx @upstash/context7-mcp) |
| sequential-thinking | External (npx) |
| memory | External (npx) |
| mcp-docker-gateway | Docker (111 tools) |
| Service | Port | Package | |---------|------|---------| | Dashboard | 3000 | dashboard | | Soul Engine API | 8010 | afo-core | | PostgreSQL | 15432 | infrastructure | | Redis | 6379 | infrastructure | | Ollama | 11435 | infrastructure |
"Where is the Trinity Score calculated?"
→ packages/trinity-os/trinity_os/servers/trinity_score_mcp.py
"Where are the API routes?"
→ packages/afo-core/api/
"Where is the dashboard home page?"
→ packages/dashboard/src/app/page.tsx
"Where are the 3 strategists?"
→ packages/afo-core/AFO/chancellor/
"Where is the Claude configuration?"
→ .claude/ (commands, agents, mcp.json)
Glob for pattern-based file discoveryGrep for content-based searchdocs/MAP_OF_KINGDOM.md for documentation index.claude/CONTEXT_COMPASS.yaml for context guidance./tools
Kingdom CLI와 kingdom-cmd MCP를 써서 상태 확인, 진단, query, agent 작업을 진행할 때 사용합니다.
testing
Calculate the 5-Pillar Trinity Score (眞善美孝永) with weighted philosophy alignment. Core evaluation system for AFO Kingdom decisions.
testing
4-stage command triage and orchestration using LangGraph. Routes decisions through 3 strategists. (Standalone mode uses InMemoryQueue instead of Redis)
development
This skill should be used when the user asks about "Trinity Score", "5 pillars", "眞善美孝永", "philosophy", "ethical AI decisions", or discusses the AFO Kingdom's guiding principles. Provides comprehensive guidance on applying the 5-pillar philosophy to development decisions.