一键导入
name
<role in one line>
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
<role in one line>
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Triage non-code defects (spec_defect, policy_incongruity, design_gap): assess risk, auto-fix bounded safe issues, and log the rest as tracked bugs.
Compress the NON-gald3r sections of AGENTS.md/CLAUDE.md (and *memory*.md) to cut token overhead, while strictly preserving the install-managed gald3r SECTION ranges, code blocks, and URLs. Dry-run by default; apply only after confirmation.
Own and manage all feature data — FEATURES.md index, features/ individual files, staging lifecycle (staging→specced→committed→shipped), harvest source collection, and feature promotion. Single source of truth for everything feature-related.
Create well-structured git commits following gald3r conventions, with proper type prefixes, task references, and clean trailers (no AI co-author footers per C-021).
Tiered .gald3r/ health and intervention system. L1=triage (structural), L2=diagnosis (plan coherence), L3=surgery (cross-subsystem interface audit), L4=ecosystem (linked project negotiation). Replaces g-skl-medic.
gald3r_muninn MCP — query the local codebase knowledge graph for impact analysis, caller chains, dependencies, and symbol search. Clean-room rewrite (T1147 epic, T1153-T1158) of the GitNexus integration; auto-loaded by the example_app MCP server from docker/gald3r/tools/plugins/muninn/. Wire into g-go-code Step b0 Impact Scan before any implementation.
| subsystem_memberships | ["AGENT_ORCHESTRATION"] |
| skill_trust_level | core |
Scaffolds a new subagent definition for your project at a location you choose. User-facing
counterpart to the maintainer-only g-skl-gald3r-agent-new. NEVER writes to .gald3r_sys/.
Two output modes:
--runnable, A2/T490) — a declarative, governable AgentSpec: a single
config.yaml / <name>.yaml, or a portable image directory when sub-agents are involved.
A runnable spec is loadable by src/spec/loader.py, passes src/spec/validator.py, and runs via
gald3r agent run <path>. This is the "agents build agents" path — author a valid T490 spec
directly from a chat description.@g-agent-new <name>@g-agent-new --runnable <name> (emit a runnable T490 spec instead of a persona).cursor/agents/<name>.md, .claude/agents/<name>.md.
Offer installed platforms.---
description: <role in one line>
---
# <Agent Display Name>
## Role
<what this agent does, when it activates, what it owns>
## Trigger Phrases
- "<phrase 1>"
## Tools / Skills
- <skill or tool the agent uses>
## Acceptance Criteria
- [ ] <criterion>
--runnable, A2/T490 — "agents build agents")When the user asks for a runnable agent spec, emit a declarative AgentSpec instead of a
persona .md. Translate the chat description into the schema below; the result MUST load via
src/spec/loader.py and validate clean via src/spec/validator.py (run gald3r agent run --validate-only <path> to confirm before finishing).
| Ask the user | Schema field | Rules the validator enforces |
|---|---|---|
| Agent name | name | lowercase [a-z0-9_-], 1–64 chars, not starting -/_ |
| One-line purpose | description | free text |
| System instructions (or a file) | instructions | inline text, or a path (e.g. AGENTS.md) read at load |
| Which executor / model | executor.harness / executor.model | harness MUST be registered (gald3r_loop, claude_code); timeout/max_iterations > 0 |
| Which builtin tools | tools.builtins | unique; may NOT use a reserved platform name (e.g. enforce_policy, session_*, inbox_*, timer_*) |
| Any sub-agents | tools.agents | allowlist only; each name needs a matching agents/<name>/ dir → forces image mode |
| Governance policies | policies | each MUST be a registered policy (e.g. blast_radius, ask_on_os_tools) |
| Sandbox | os_env.sandbox.type | one of none, win_job, wsl, linux_bwrap |
| Capability toggles | async / spawn / timers / cancellable | booleans |
<name>.yaml or config.yaml).tools.agents MUST have
its own agents/<sub>/config.yaml image, recursively). Pack/ship it with
src.spec.image.pack_image(<dir>, <archive>).name: <name>
description: <one line>
instructions: >
<system instructions, or a relative path like AGENTS.md>
executor:
harness: gald3r_loop # | claude_code
model: claude-opus-4-8
timeout: 1800
max_iterations: 200
tools:
builtins: [read_file, grep, list_dir] # least-privilege; declare only what's needed
agents: [] # non-empty → use the image-dir layout (Step 2)
os_env:
sandbox:
type: none
policies:
- blast_radius
- ask_on_os_tools
async: true
spawn: false
cancellable: true
skills_filter: all
params: {}
<name>/
config.yaml # the parent spec (tools.agents: [explorer])
AGENTS.md # instructions: AGENTS.md (read at load)
agents/
explorer/
config.yaml # the sub-agent — itself a valid AgentSpec image
The worked reference example to mirror is gald3r_agent/examples/agents/reviewer.yaml.
Run gald3r agent run --validate-only <path> (or validate(load_spec(path))) and fix any reported
errors before completing. Offer to run it for real with gald3r agent run <path>.
@g-agent-new.gald3r/specifications_collection/SPEC-A2-declarative-agent-spec.md (T490)gald3r_agent/examples/agents/reviewer.yamlgald3r agent run <agent.yaml|dir>g-skl-gald3r-agent-new