llm-trading-agent-security
Security patterns for autonomous trading agents with wallet or transaction authority. Covers prompt injection, spend limits, pre-send simulation, circuit breakers, MEV protection, and key handling.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-08
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- self-mutate
- description
- Use when updating live agent-root bootstrap files or agent-local skills in the current workspace
03 SKILL.md 正文
Self Mutate
Overview
Use this when you need to change SOUL.md, USER.md, or files under skills/ in the live agent root. From the conversation workspace, those live root paths are typically ../../SOUL.md, ../../USER.md, and ../../skills/.... Protected changes must follow diff -> confirm -> snapshot -> write.
Rules
- Never modify
AGENTS.mdor anything under.history/. - Do not use
execto write protected files.execis only for read-only inspection or diff helpers. - Protected writes are confirmed by the product, and the runtime snapshots the previous file into
.history/automatically. - A rewritten skill is only loaded on the next top-level turn. The current turn must not rely on the freshly edited skill body mid-execution.
- Do not create conversation-local shadow files such as
SOUL.md,USER.md, orskills/.... Target the reserved agent-root path directly.
Workflow
- Read the current live root file directly. From the conversation workspace, use the root-relative path such as
../../SOUL.md,../../USER.md, or../../skills/<name>/SKILL.md. - Draft the new content or patch.
- Generate a diff for review.
- Ask the user to confirm the protected write.
- After approval, use
write,edit, orapply_patchon the live path. - Report the live path and the
.history/snapshot path when one is created.
Common Mistakes
- Writing a protected file with
exec. - Editing
.history/directly instead of letting the runtime create the snapshot. - Assuming the new skill text will affect the same turn that wrote it.
- Creating
SOUL.md,USER.md, orskills/...inside the conversation workspace instead of targeting the reserved root path.
04 同仓库更多 Skills
remotion-video-creation
Best practices for Remotion - Video creation in React. 29 domain-specific rules covering 3D, animations, audio, captions, charts, transitions, and more.
hotcook-recipes
暂无简介
code-helper
Code review and assistance skill
research-assistant
Web research assistant skill using Brave Search MCP
x-api
X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.
workspace-surface-audit
Audit the active repo, MCP servers, plugins, connectors, env surfaces, and harness setup, then recommend the highest-value ECC-native skills, hooks, agents, and operator workflows. Use when the user wants help setting up Claude Code or understanding what capabilities are actually available in their environment.