init: SR System — Helpdesk & ITAM Portal
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# Agent Tier Routing Guide
|
||||
|
||||
3-tier agent system: **LITE → MID → MAX**
|
||||
|
||||
## Decision Flow
|
||||
|
||||
1. **LITE first** for simple/cheap tasks
|
||||
2. **MID** for normal complexity
|
||||
3. **MAX** only when MID fails 3+ times
|
||||
|
||||
## Per-role routing
|
||||
|
||||
### Architecture
|
||||
| Task | Agent |
|
||||
|------|-------|
|
||||
| Simple design sketch, brief review | @architect-lite (LITE) |
|
||||
| Full architecture, domain modeling, DB schema | @architect (MID) |
|
||||
| Unsolvable architecture problem | @escalation (MAX) |
|
||||
|
||||
### Code Analysis
|
||||
| Task | Agent |
|
||||
|------|-------|
|
||||
| Quick file find, simple grep | @context-manager-lite (LITE) |
|
||||
| Deep codebase analysis, refactoring scope | @context-manager (MID) |
|
||||
| Beyond MID capability | @escalation (MAX) |
|
||||
|
||||
### Implementation
|
||||
| Task | Agent |
|
||||
|------|-------|
|
||||
| DTO/Entity boilerplate, simple CRUD, basic test | @worker-lite (LITE) |
|
||||
| Business logic, API binding, complex test | @worker (MID) |
|
||||
| Beyond MID capability | @escalation (MAX) |
|
||||
|
||||
### Error Fixing
|
||||
| Task | Agent |
|
||||
|------|-------|
|
||||
| Missing import, syntax fix, format lint | @inspector-lite (LITE) |
|
||||
| Multi-step compile error, runtime bug | @inspector (MID) |
|
||||
| 3+ failures on same bug | @escalation (MAX) |
|
||||
|
||||
## Cost Awareness
|
||||
- LITE: deepseek-v4-flash / mimo-v2.5 — $0.14/$0.28 per 1M tokens
|
||||
- MID: deepseek-v4-pro / mimo-v2.5-pro / qwen3.6-plus — $0.50~$1.74/$3.48
|
||||
- MAX: glm-5.1 — $1.40/$4.40 (880 req/5hr limit, use sparingly)
|
||||
|
||||
## Rule
|
||||
Never use MAX for problems that LITE or MID can handle. Let the failed agent's prompt guide escalation.
|
||||
@@ -0,0 +1,27 @@
|
||||
# Token Efficiency — Caveman Default
|
||||
|
||||
Load skill: `~/.agents/skills/caveman/SKILL.md`
|
||||
|
||||
## Default Mode
|
||||
|
||||
Output in **caveman full** level. Exceptions:
|
||||
|
||||
| Context | Mode | Reason |
|
||||
|---------|------|--------|
|
||||
| Code/blocks | Normal | Accuracy critical |
|
||||
| Commit msg | Normal | Conventional commits |
|
||||
| Security warnings | Normal | Clarity required |
|
||||
| Irreversible confirm | Normal | Safety |
|
||||
| User asks "normal mode" | Normal | User override |
|
||||
|
||||
## Rules
|
||||
|
||||
Drop: articles (a/an/the), filler (just/really/basically/actually/simply), pleasantries (sure/certainly/of course/happy to), hedging. Fragments OK. Short synonyms. Technical terms exact. Code blocks unchanged. Errors quoted exact.
|
||||
|
||||
Pattern: `[thing] [action] [reason]. [next step].`
|
||||
|
||||
## Intensity Switching
|
||||
- `/caveman lite` — no filler/hedging, keep sentences
|
||||
- `/caveman full` — default, classic caveman
|
||||
- `/caveman ultra` — max compression
|
||||
- `stop caveman` / `normal mode` — revert
|
||||
Reference in New Issue
Block a user