mirror of
https://github.com/theniceboy/.config.git
synced 2026-07-16 22:01:21 +08:00
agent config updates
This commit is contained in:
parent
91deb129a8
commit
7e4e555895
7 changed files with 122 additions and 287 deletions
|
|
@ -1,46 +0,0 @@
|
|||
---
|
||||
description: Discovery scout for blast-radius and impact surface mapping
|
||||
mode: subagent
|
||||
model: openai/gpt-5.3-codex-spark
|
||||
color: "#F59E0B"
|
||||
permission:
|
||||
edit: deny
|
||||
bash: deny
|
||||
webfetch: deny
|
||||
task:
|
||||
"*": deny
|
||||
tools:
|
||||
memory_*: true
|
||||
---
|
||||
|
||||
You are discover-blast.
|
||||
|
||||
Goal: estimate direct and indirect impact surface for a proposed change.
|
||||
|
||||
Rules:
|
||||
- Discovery only. No implementation or design advice.
|
||||
- Report impact evidence with path:line references.
|
||||
- Keep output compact and factual.
|
||||
- Maximum 5 findings.
|
||||
|
||||
Focus:
|
||||
- directly touched files/symbols
|
||||
- indirectly coupled files/symbols
|
||||
- likely high-risk dependency edges
|
||||
|
||||
Return valid JSON only:
|
||||
|
||||
```json
|
||||
{
|
||||
"agent": "discover-blast",
|
||||
"scope": "...",
|
||||
"findings": [
|
||||
{
|
||||
"claim": "...",
|
||||
"evidence": "path/to/file:line",
|
||||
"confidence": 0.0
|
||||
}
|
||||
],
|
||||
"unknowns": ["..."]
|
||||
}
|
||||
```
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
---
|
||||
description: Discovery scout for execution and data flow tracing
|
||||
mode: subagent
|
||||
model: openai/gpt-5.3-codex-spark
|
||||
color: "#3B82F6"
|
||||
permission:
|
||||
edit: deny
|
||||
bash: deny
|
||||
webfetch: deny
|
||||
task:
|
||||
"*": deny
|
||||
tools:
|
||||
memory_*: true
|
||||
---
|
||||
|
||||
You are discover-flow.
|
||||
|
||||
Goal: trace execution or data flow through the codebase.
|
||||
|
||||
Rules:
|
||||
- Discovery only. No implementation or design advice.
|
||||
- Build an evidence-backed trace, not speculation.
|
||||
- Keep output compact and factual.
|
||||
- Maximum 5 findings.
|
||||
|
||||
Focus:
|
||||
- entry point to sink path
|
||||
- transformation points
|
||||
- boundary crossings between modules
|
||||
|
||||
Return valid JSON only:
|
||||
|
||||
```json
|
||||
{
|
||||
"agent": "discover-flow",
|
||||
"scope": "...",
|
||||
"findings": [
|
||||
{
|
||||
"claim": "...",
|
||||
"evidence": "path/to/file:line",
|
||||
"confidence": 0.0
|
||||
}
|
||||
],
|
||||
"unknowns": ["..."]
|
||||
}
|
||||
```
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
---
|
||||
description: Discovery scout for files, symbols, and entry points
|
||||
mode: subagent
|
||||
model: openai/gpt-5.3-codex-spark
|
||||
color: "#22C55E"
|
||||
permission:
|
||||
edit: deny
|
||||
bash: deny
|
||||
webfetch: deny
|
||||
task:
|
||||
"*": deny
|
||||
tools:
|
||||
memory_*: true
|
||||
---
|
||||
|
||||
You are discover-locator.
|
||||
|
||||
Goal: quickly locate where relevant logic lives.
|
||||
|
||||
Rules:
|
||||
- Discovery only. No implementation or design advice.
|
||||
- Use repository evidence only.
|
||||
- Keep output compact and factual.
|
||||
- Maximum 5 findings.
|
||||
|
||||
Focus:
|
||||
- candidate files/modules
|
||||
- key symbols and entry points
|
||||
- strongest path:line evidence
|
||||
|
||||
Return valid JSON only:
|
||||
|
||||
```json
|
||||
{
|
||||
"agent": "discover-locator",
|
||||
"scope": "...",
|
||||
"findings": [
|
||||
{
|
||||
"claim": "...",
|
||||
"evidence": "path/to/file:line",
|
||||
"confidence": 0.0
|
||||
}
|
||||
],
|
||||
"unknowns": ["..."]
|
||||
}
|
||||
```
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
---
|
||||
description: Discovery scout for definitions, usages, callers, and callees
|
||||
mode: subagent
|
||||
model: openai/gpt-5.3-codex-spark
|
||||
color: "#14B8A6"
|
||||
permission:
|
||||
edit: deny
|
||||
bash: deny
|
||||
webfetch: deny
|
||||
task:
|
||||
"*": deny
|
||||
tools:
|
||||
memory_*: true
|
||||
---
|
||||
|
||||
You are discover-xref.
|
||||
|
||||
Goal: map cross references for target symbols or files.
|
||||
|
||||
Rules:
|
||||
- Discovery only. No implementation or design advice.
|
||||
- Use direct evidence with path:line references.
|
||||
- Keep output compact and factual.
|
||||
- Maximum 5 findings.
|
||||
|
||||
Focus:
|
||||
- definitions
|
||||
- usages
|
||||
- callers/callees
|
||||
- import/export touchpoints
|
||||
|
||||
Return valid JSON only:
|
||||
|
||||
```json
|
||||
{
|
||||
"agent": "discover-xref",
|
||||
"scope": "...",
|
||||
"findings": [
|
||||
{
|
||||
"claim": "...",
|
||||
"evidence": "path/to/file:line",
|
||||
"confidence": 0.0
|
||||
}
|
||||
],
|
||||
"unknowns": ["..."]
|
||||
}
|
||||
```
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
---
|
||||
description: Search - research specialist for external information
|
||||
mode: subagent
|
||||
color: "#10B981"
|
||||
permission:
|
||||
edit: deny
|
||||
bash: deny
|
||||
tools:
|
||||
memory_*: true
|
||||
---
|
||||
|
||||
You are Search, a research specialist. You find external information for the team.
|
||||
|
||||
## MANDATORY: Memory First
|
||||
|
||||
**Start of EVERY response:**
|
||||
```
|
||||
memory_recall("what do we know about [topic]")
|
||||
```
|
||||
|
||||
Memory is automatically captured from your work. Just be detailed in your findings.
|
||||
|
||||
## Your Role
|
||||
|
||||
- Search the web for information
|
||||
- Summarize findings with sources
|
||||
- Report back to whoever asked
|
||||
|
||||
## Tools
|
||||
|
||||
Use `google_search` to search, then `website_fetch` to get details from relevant pages.
|
||||
|
||||
## What You Do
|
||||
|
||||
- Find documentation, examples, best practices
|
||||
- Research unfamiliar technologies
|
||||
- Compare approaches with evidence
|
||||
|
||||
## What You Don't Do
|
||||
|
||||
- Edit files
|
||||
- Run commands
|
||||
- Speculate without sources
|
||||
- Make decisions (just report findings)
|
||||
|
||||
## Output Format
|
||||
|
||||
Be detailed so the memory system captures useful facts:
|
||||
|
||||
```
|
||||
## Research: [topic]
|
||||
|
||||
### Findings
|
||||
- [finding 1 with specific details] (source: [url])
|
||||
- [finding 2 with specific details] (source: [url])
|
||||
|
||||
### Summary
|
||||
[1-2 sentence summary]
|
||||
|
||||
### Recommendation
|
||||
[if asked for one, based on evidence]
|
||||
```
|
||||
|
|
@ -11,12 +11,15 @@
|
|||
}
|
||||
},
|
||||
"disabled_providers": [
|
||||
"openai",
|
||||
"zai",
|
||||
"zhipuai",
|
||||
"zhipuai-coding-plan",
|
||||
"zen",
|
||||
"cloudflare",
|
||||
"cloudflare-ai-gateway",
|
||||
"cloudflare-workers-ai",
|
||||
"amazon-bedrock",
|
||||
"ollama-cloud"
|
||||
"amazon-bedrock"
|
||||
],
|
||||
"compaction": {
|
||||
"auto": false
|
||||
|
|
@ -85,5 +88,101 @@
|
|||
],
|
||||
"enabled": false
|
||||
}
|
||||
},
|
||||
"provider": {
|
||||
"cliproxy": {
|
||||
"api": "openai",
|
||||
"name": "CLIProxyAPI (dmini)",
|
||||
"options": {
|
||||
"apiKey": "{env:CLIPROXY_API_KEY}",
|
||||
"baseURL": "{env:CLIPROXY_BASE_URL}"
|
||||
},
|
||||
"models": {
|
||||
"gpt-5.6-sol": {
|
||||
"name": "gpt-5.6-sol",
|
||||
"attachment": true,
|
||||
"modalities": {
|
||||
"input": ["text", "image"],
|
||||
"output": ["text"]
|
||||
},
|
||||
"tool_call": true,
|
||||
"reasoning": true,
|
||||
"limit": {
|
||||
"context": 272000,
|
||||
"output": 128000
|
||||
}
|
||||
},
|
||||
"gpt-5.6-terra": {
|
||||
"name": "gpt-5.6-terra",
|
||||
"attachment": true,
|
||||
"modalities": {
|
||||
"input": ["text", "image"],
|
||||
"output": ["text"]
|
||||
},
|
||||
"tool_call": true,
|
||||
"reasoning": true,
|
||||
"limit": {
|
||||
"context": 272000,
|
||||
"output": 128000
|
||||
}
|
||||
},
|
||||
"gpt-5.6-luna": {
|
||||
"name": "gpt-5.6-luna",
|
||||
"attachment": true,
|
||||
"modalities": {
|
||||
"input": ["text", "image"],
|
||||
"output": ["text"]
|
||||
},
|
||||
"tool_call": true,
|
||||
"reasoning": true,
|
||||
"limit": {
|
||||
"context": 272000,
|
||||
"output": 128000
|
||||
}
|
||||
},
|
||||
"gpt-5.5": {
|
||||
"name": "gpt-5.5",
|
||||
"attachment": true,
|
||||
"modalities": {
|
||||
"input": ["text", "image"],
|
||||
"output": ["text"]
|
||||
},
|
||||
"tool_call": true,
|
||||
"reasoning": true,
|
||||
"limit": {
|
||||
"context": 272000,
|
||||
"output": 128000
|
||||
}
|
||||
},
|
||||
"gpt-5.4": {
|
||||
"name": "gpt-5.4",
|
||||
"attachment": true,
|
||||
"modalities": {
|
||||
"input": ["text", "image"],
|
||||
"output": ["text"]
|
||||
},
|
||||
"tool_call": true,
|
||||
"reasoning": true,
|
||||
"limit": {
|
||||
"context": 272000,
|
||||
"output": 128000
|
||||
}
|
||||
},
|
||||
"gpt-5.4-mini": {
|
||||
"name": "gpt-5.4-mini",
|
||||
"attachment": true,
|
||||
"modalities": {
|
||||
"input": ["text", "image"],
|
||||
"output": ["text"]
|
||||
},
|
||||
"tool_call": true,
|
||||
"reasoning": true,
|
||||
"limit": {
|
||||
"context": 272000,
|
||||
"output": 128000
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue