You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> This file is the master index of everything the agent knows. It is loaded before every request so the agent can quickly decide where to look and what context is available. Every update to memory, skills, incidents, infra, or learned patterns must update this file.
4
+
5
+
---
6
+
7
+
## Skills (7 files)
8
+
9
+
Domain knowledge and runbooks the agent uses during investigations.
10
+
11
+
| File | Size | First line |
12
+
|------|------|------------|
13
+
|`skills/docker.md`| 3706b | ```bash |
14
+
|`skills/error-rate.md`| 2591b | When error rates spike, work through this in order: |
15
+
|`skills/general-debugging.md`| 5554b | When something breaks, answer these questions in order: |
16
+
|`skills/infra-sync.md`| 2157b | Discover everything about the developer's local and cloud infrastructure. Write |
17
+
|`skills/kubernetes-incidents.md`| 5085b | Run these immediately when something is wrong in a k8s cluster: |
18
+
|`skills/kubernetes.md`| 4165b | ```bash |
19
+
|`skills/performance.md`| 3781b | When latency spikes or performance degrades: |
20
+
21
+
## Memory
22
+
23
+
### context.md
24
+
<!-- Edit this file with permanent facts about your infrastructure -->
25
+
26
+
### README.md
27
+
Persistent knowledge the agent reads on every message. Survives container restar
28
+
29
+
---
30
+
31
+
## How to use this index
32
+
33
+
-**Before investigating**: Check `infra/summary.md` and `context.md` for known infrastructure topology
> This file is the master index of everything the agent knows. It is loaded before every request so the agent can quickly decide where to look and what context is available. Every update to memory, skills, incidents, infra, or learned patterns must update this file.
23
+
24
+
---
25
+
26
+
## Skills (${skills.length} files)
27
+
28
+
Domain knowledge and runbooks the agent uses during investigations.
// AGENT.md is the first thing the agent sees — the master knowledge index
72
+
if(agentMd){
73
+
prompt+=`<agent_knowledge_index>
74
+
The following is your master knowledge index (AGENT.md). READ THIS FIRST before every request. It tells you exactly what skills, memory, infrastructure data, incident history, and learned patterns are available and where to find them. Use this to plan your approach before taking action.
75
+
76
+
${agentMd}
77
+
</agent_knowledge_index>
78
+
79
+
IMPORTANT: Before responding to any user request, consult the knowledge index above to:
80
+
1. Identify which skills are relevant to the issue
81
+
2. Check if similar incidents have been investigated before
82
+
3. Look up known infrastructure topology and configurations
83
+
4. Review learned patterns for proven investigation sequences
0 commit comments