Ag kit

From yanacuti1121/Yana-AI · View interactive version

Ag kit is an AI agent skill from the GitHub repository yanacuti1121/Yana-AI. Use when asked to set up AI agent templates with coordinator mode, implement persistent agent memory, compress context for long-running agents, build multi-agent workflows with skills/agents/workflows structure, or use the .agents/ folder convention for AI-native editors. Triggers on: 'ag-kit', 'ant

How to use this skill

Skill file

AG Kit Skill

Source: vudovn/ag-kit (TypeScript, 7.6k★) — AI Agent templates with Coordinator Mode + Persistent Memory

Tier: TIER 3 — PRODUCTIVITY

Template hệ thống multi-agent: Coordinator Mode, Persistent Memory, Context Compression.

Dùng .agents/ folder — tương thích Claude Code, Cursor, Windsurf.

Do NOT use for: agents-v2 (YAMTAM internal orchestration), langgraph (Python graph agents), memgpt-virtual-context (MemGPT protocol).


Khi nào dùng


Cài đặt nhanh

# On-demand (khuyên dùng)
npx @vudovn/ag-kit init

# Global
npm install -g @vudovn/ag-kit
ag-kit init

Lệnh trên inject thư mục .agents/ vào project hiện tại.


Cấu trúc `.agents/`

.agents/
  coordinator/     ← agent điều phối trung tâm
  skills/          ← kỹ năng chia sẻ giữa agents
  workflows/       ← workflow templates
  memory/          ← persistent memory store

Coordinator Mode

User request
     ↓
Coordinator Agent
     ↓ phân tích + routing
  ┌──┴──┬──────┬──────┐
  │     │      │      │
Sub-A Sub-B Sub-C Sub-D
  └──┬──┴──────┴──────┘
     ↓ tổng hợp
  Output

Coordinator nhận yêu cầu → tách subtask → dispatch → merge kết quả.


Dùng với nhiều repo (Global Symlink)

# Cài 1 lần tập trung
mkdir -p ~/.ag-kit && cd ~/.ag-kit
npx @vudovn/ag-kit init

# Link vào từng project
ln -s ~/.ag-kit/.agents .agents   # macOS/Linux

Lưu ý với AI editors

Không thêm .agents/ vào .gitignore nếu dùng Cursor/Windsurf —

editor cần index folder này để autocomplete slash commands.

Thay vào đó dùng .git/info/exclude để giữ local.


Liên quan

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.