← 返回
未分类 中文

How To Use Agent

Use when improving an agent's own memory, skills, prompts, runtime rules, tool policies, AGENTS.md/agent.md files, or when adapting ideas from other agent pr...
用于提升智能体的自身记忆、技能、提示、运行时规则、工具策略、AGENTS.md/agent.md 文件,或借鉴其他智能体的项目经验。
huangrichao2020 huangrichao2020 来源
未分类 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 283
下载
💾 0
安装
1
版本
#agent#agent-skills#latest#memory#prompts#self-evolution

概述

Agent Self-Evolution

English · 简体中文

Use this skill to help an agent improve itself without turning self-modification

into a reckless rewrite. The goal is durable learning: research becomes

architecture, architecture becomes a small rollout, and the result becomes a

manual the next agent can find.

Consent Gate

Before changing agent-owned rule or memory surfaces, stop and ask the user for

explicit approval.

Agent-owned surfaces include:

  • AGENTS.md, agent.md, .agent/AGENTS.md, CLAUDE.md, GEMINI.md,

QWEN.md, or equivalent agent instruction files

  • system prompts, tool schemas, permission policies, connector policies
  • skill files, skill indexes, skill manifests, memory registries
  • durable memory files, knowledge bases, wiki indexes, recall databases
  • startup, restart, routing, planner, delegation, or self-update logic

When approval is needed, show:

I need to modify agent-owned data.

Files/surfaces:
- ...

Why:
- ...

Risk:
- ...

Rollback:
- ...

Do you approve these changes?

Do not treat a vague "continue" as consent. Do not delete or rewrite memory

without naming what will be lost.

Core Loop

external signal
  -> source-level research
  -> adaptation memo
  -> architecture archive
  -> ordered discussion
  -> risk / reward review
  -> progressive rollout
  -> freeze adjacent systems
  -> first small landing
  -> verification
  -> work manual
  -> indexed archive path

Workflow

1. Learn from outside projects

Study external projects for patterns, not code to copy.

Return an adaptation memo:

  • what problem the external project solves
  • which design patterns are useful here
  • which parts are too heavy or incompatible
  • the smallest safe local experiment
  • files or modules likely affected

2. Archive architecture before code

If the change touches memory, tools, prompts, runtime behavior, startup,

restart, routing, delegation, or persistence, treat it as architecture work.

Write an architecture note before implementation. It should include:

  • current problem
  • target behavior
  • migration phases
  • risks and rollback
  • what must stay unchanged for now
  • acceptance checks

3. Discuss in order

Do not implement every attractive idea at once. Walk the user through the

plan one section or phase at a time.

Use direct language:

  • "This is phase one."
  • "This part should wait."
  • "This needs user approval because it changes agent-owned data."

4. Prefer progressive rollout

For risky agent changes, compare:

  • direct full switch
  • shadow mode / parallel run
  • progressive rollout

Prefer progressive rollout when old and new behavior can coexist or when

rollback would be hard to reason about.

5. Freeze adjacent systems

During a migration, pause unrelated work on neighboring systems. For example,

if the task is changing tool routing, do not also redesign long-term memory

unless it is required for the routing change.

Focus is a safety mechanism.

6. Land one small step

Implementation rules:

  • reuse existing logic when possible
  • keep integration points small
  • preserve existing data unless deletion is explicitly approved
  • add cheap verification
  • keep rollback obvious
  • avoid broad refactors

7. Write the work manual

After landing a phase, write a short manual next to the architecture note.

Include:

  • what changed
  • why it changed
  • how to verify it
  • what remains paused
  • what phase two should do next
  • exact file paths and commands for the next agent

8. Close the loop

The task is not complete when files are edited. It is complete when the next

agent can find and reuse the result.

Closure checklist:

  • architecture note exists
  • work manual exists
  • relevant indexes or manifests are updated
  • verification evidence is recorded
  • archive path is reported to the user

Copyable Prompt Trail

Deeply study [external project A] and [external project B].
Do not copy them directly. Extract what can improve our agent under our
current constraints.

If this is a major architecture change, archive the design first.
Then we will discuss it step by step.

Before implementing the most attractive option, compare direct switching
against progressive rollout. Name the risks and benefits.

During the migration, freeze adjacent subsystems unless this phase requires
touching them.

Start phase one. Reuse existing logic where possible. Be careful.

If you need to modify AGENTS.md, agent.md, memory, skills, prompt rules, or
other agent-owned data, explain the files, risk, and rollback first, then ask
for my approval.

After the change, write a work manual next to the architecture design so the
next agent can continue without rediscovering the plan.

Common Mistakes

  • Copying an external project instead of adapting its pattern.
  • Treating "good idea" as approval to rewrite runtime behavior.
  • Editing AGENTS.md, memory, prompts, or skills without explicit consent.
  • Migrating multiple agent subsystems at the same time.
  • Calling the task done after code changes but before archive and index

closure.

  • Letting completed work live only in chat history.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-05-08 02:43 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

professional

Baidu Finance Search

huangrichao2020
百度财经搜索,基于超哥方法论,聚合雪球、知乎、东方财富、同花顺等平台财经舆情,适合短线情绪博弈和事件驱动分析。
★ 0 📥 802
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,398 📥 323,078
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,473 📥 536,505