Token导航 LogoToken导航

Agent Skill · 研究检索

agent-config(Agent 配置)

agent-config 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

agent-config 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 1,091。

总安装 122,364周安装 4,950GitHub Stars 公开资料未说明下载 38,412核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-config(Agent 配置)
来源仓库:https://github.com/thatguysizemore/agent-config
安装命令:
openclaw skills install agent-config
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install agent-config

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

智能修改代理核心上下文文件(AGENTS.md、SOUL.md、IDENTITY.md、USER.md、TOOLS.md、MEMORY.md、HEARTBEAT.md)。

当对话涉及更改代理行为、更新规则、调整个性、修改指令、调整操作程序、更新内存架构、更改委派模式、添加安全规则、完善提示模式或对代理工作区配置文件的任何其他修改时使用。通过上下文文件更改来配置、调整、改进、修复或发展代理行为的意图触发。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install agent-config;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

agent-config 怎么安装?

在终端执行 openclaw skills install agent-config。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agent-config 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agent-config 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

agent-config 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

agent-config 用的人多吗?

公开数据是累计安装 122,364 次,近一周安装 4,950 次,下载 38,412 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agent-config 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
agent-config

Agent 配置 · 本页

122,364—需要联网MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
agent-config
description
Intelligently modify agent core context files (AGENTS.md, SOUL.md, IDENTITY.md, USER.md, TOOLS.md, MEMORY.md, HEARTBEAT.md). Use when conversation involves changing agent behavior, updating rules, tweaking personality, modifying instructions, adjusting operational procedures, updating memory architecture, changing delegation patterns, adding safety rules, refining prompt patterns, or any other modification to agent workspace configuration files. Triggers on intent to configure, tune, improve, fix, or evolve agent behavior through context file changes.

Agent Config Skill

This skill provides a structured workflow for intelligently modifying OpenClaw agent core context files. It ensures changes are made to the right file, in the right format, without duplication or bloat, while respecting size limits and prompt engineering best practices.

Core Workflow

When modifying agent context files, follow this process:

1. Identify Target File

Read references/file-map.md to determine which file the change belongs in.

Quick decision tree:

  • Operational procedures, memory workflows, delegation rules → AGENTS.md
  • Personality, tone, boundaries, ethical rules → SOUL.md
  • Agent name, emoji, core vibe → IDENTITY.md
  • User profile, preferences, family info → USER.md
  • Local tool notes, command examples, API locations → TOOLS.md
  • Curated long-term facts (main session only) → MEMORY.md
  • Heartbeat checklist (keep tiny) → HEARTBEAT.md

Critical: Subagents only see AGENTS.md + TOOLS.md. Operational rules must go in AGENTS.md, not SOUL.md.

2. Check Current State

Before making changes:

# Check file size (20K char limit per file)
wc -c ~/clawd/AGENTS.md ~/clawd/SOUL.md ~/clawd/IDENTITY.md \
      ~/clawd/USER.md ~/clawd/TOOLS.md ~/clawd/MEMORY.md ~/clawd/HEARTBEAT.md

# Read the target file section to check for duplication
# Use grep to search for existing similar content
grep -i "keyword" ~/clawd/TARGETFILE.md

Size warnings:

  • If file is > 18,000 chars, warn before adding (approaching truncation limit)
  • If file is already > 20,000 chars, it's being truncated - refactor before adding more
  • Agent can still read full file with read tool, but startup context is truncated

Duplication check:

  • Is this instruction already present in different words?
  • Is there a similar rule that should be updated instead of adding new?
  • Does this belong in multiple files? (Usually no - pick ONE location)

3. Draft the Change

Read references/claude-patterns.md for instruction formats that work.

Format guidelines by file:

AGENTS.md (structured, imperative):

  • Use numbered processes for multi-step workflows
  • Use tables for decision trees, model selection, routing rules
  • Include examples for complex patterns
  • Explain WHY rules exist (motivation > bare commands)
  • Use headers and sub-sections for organization
  • Reference other files/skills, don't duplicate content

SOUL.md (first-person OK, narrative):

  • Can use personal voice ("I'm Gus" vs "You are Gus")
  • Anti-pattern lists work well (forbidden phrases, hedging examples)
  • Include before/after examples for tone guidance
  • Keep tattoos/anchors at top for immediate context
  • Use contrasts (good vs bad examples side-by-side)

IDENTITY.md (minimal):

  • Punchy bullets
  • Keep under 500 chars if possible
  • Core vibe only, details go in SOUL.md

USER.md (factual, third-person):

  • Bullet lists by category
  • Dates for time-sensitive info
  • Clear section headers
  • Cross-reference vault files for detailed project context

TOOLS.md (reference guide):

  • Tables for comparison (when to use X vs Y)
  • Code blocks for command examples
  • Clear headings for quick lookup
  • Include paths, env var names, exact syntax

MEMORY.md (wiki-style, topic-based):

  • Section by topic, not chronologically
  • Cross-reference entity files in vault
  • Dates for context, but organize by subject
  • Main session only - privacy-sensitive

HEARTBEAT.md (action list):

  • Extremely concise
  • Bullet list of checks
  • No explanations (that's AGENTS.md)
  • Fast to parse

4. Validate Before Applying

Ask yourself:

Fit:

  • Does this actually belong in this file based on file-map.md?
  • Is it operational (AGENTS.md) or personality (SOUL.md)?
  • Will subagents need this? (If yes, must be AGENTS.md or TOOLS.md)

Format:

  • Does this match the file's existing style?
  • Is it the right structure (numbered, table, bullets, prose)?
  • Are examples included where needed?

Size:

  • How many chars is this adding?
  • Is the file approaching 20K limit?
  • Could this be a reference file instead?

Duplication:

  • Is this already present somewhere else?
  • Should existing content be updated instead?
  • Could this consolidate multiple scattered rules?

Quality:

  • Is motivation explained (WHY this rule exists)?
  • Are examples concrete and real (not generic)?
  • Is it precise enough for an AI to follow?
  • Does it avoid vague instructions like "be helpful"?

5. Apply the Change

Use the edit tool with exact text matching:

# Read the section first to get exact text
read(path="~/clawd/AGENTS.md", offset=50, limit=20)

# Then edit with precise match
edit(
    path="~/clawd/AGENTS.md",
    oldText="exact existing text including whitespace",
    newText="updated text with change"
)

For additions:

  • Find the right section anchor (read file first)
  • Insert after relevant heading, not at end of file
  • Maintain file's organization structure

For updates:

  • Replace the specific section being changed
  • Keep surrounding context intact
  • Update examples if rule changes

For deletions:

  • Only remove if truly obsolete
  • Consider whether rule should be refined instead
  • Check if other sections reference what's being deleted

6. Verify and Document

After applying change:

Verification:

# Confirm change applied
grep -A 3 "new text" ~/clawd/TARGETFILE.md

# Check new file size
wc -c ~/clawd/TARGETFILE.md

Documentation:

  • Log significant changes to /Users/macmini/Sizemore/agent/decisions/config-changes.md
  • Include: date, file, what changed, why, who requested
  • If change is experimental, note rollback plan

Report to user:

  • "Updated AGENTS.md: added X to Y section (now 15,234 chars)"
  • If approaching limit: "Warning: AGENTS.md now 19,456 chars (near 20K limit)"
  • If rolled back previous change: "Replaced old X rule with new Y approach"

Common Patterns

Adding Safety Rules

Target: AGENTS.md → Safety section

## Safety

- **NEVER:** Exfiltrate data, destructive commands w/o asking
- Prefer `trash` > `rm`
- **New rule:** Brief description of what NOT to do
- **New protection:** When X happens, do Y instead

Updating Delegation Rules

Target: AGENTS.md → Delegation section

Check existing delegation table/rules first. Update thresholds, model selection, or cost patterns.

Refining Personality

Target: SOUL.md (tone, boundaries) or IDENTITY.md (core vibe)

Add forbidden phrases to anti-pattern list, update voice examples, refine mirroring rules.

Adding Tool Conventions

Target: TOOLS.md

Add to relevant section (or create new section). Include code examples, when to use, paths.

Updating Memory Workflow

Target: AGENTS.md → Memory section

Update logging triggers, recall cascade, entity structure. Keep memory format templates in ~/clawd/templates/.

Adding Startup Tasks

Target: AGENTS.md → Startup section

Add to numbered checklist. Keep conditional (if MAIN, if group chat, if specific channel).

Heartbeat Changes

Target: HEARTBEAT.md

Keep minimal. Only what agent checks on every heartbeat run (not operational details).

Rollback Guidance

If a change makes things worse:

Immediate Rollback

# If file is in git
cd ~/clawd
git diff TARGETFILE.md  # See what changed
git checkout TARGETFILE.md  # Revert to last commit

# If not in git, restore from memory
# Read last known-good version from vault decisions log
# Or ask user to provide previous working version

Iterative Refinement

Don't immediately delete failed changes. Analyze:

  • Was the content wrong, or just the format?
  • Was it in the wrong file?
  • Was it too vague? (Add examples)
  • Was it too verbose? (Make concise)
  • Did it conflict with existing rules? (Consolidate)

Update incrementally instead of full revert when possible.

Document Failures

Log failed changes to /Users/macmini/Sizemore/agent/learnings/config-failures.md:

  • What was tried
  • Why it didn't work
  • What to try instead

This prevents repeating failed patterns.

Anti-Patterns to Avoid

Read references/claude-patterns.md for detailed anti-patterns.

Quick checklist:

❌ Duplication - Same rule in multiple files ❌ Vague instructions - "Be helpful", "Use good judgment" ❌ Missing examples - Complex rules with no concrete case ❌ Wrong file - Personality in AGENTS.md, operations in SOUL.md ❌ No motivation - Rule without WHY it exists ❌ Reference docs buried - Long guides embedded instead of linked ❌ Bloat - Adding when updating existing would work ❌ Format mismatch - Prose in table-heavy file, bullets in narrative file ❌ Subagent blindness - Operational rule in file subagents don't see ❌ Size ignorance - Adding to 19K file without checking

When to Use References

If adding >500 words of content, consider:

  • Is this reference material? → Create file in vault, link from context file
  • Is this a reusable procedure? → Create template in ~/clawd/templates/
  • Is this domain knowledge? → Create skill with references/ folder
  • Is this a one-time setup? → Use BOOTSTRAP.md (deleted after first run)

Examples:

  • Long subagent task template → ~/clawd/templates/subagent-task.md
  • Detailed memory format guide → vault agent/decisions/memory-architecture.md
  • Complex workflow with substeps → Create skill with workflow in references/
  • Tool-specific procedures → Expand TOOLS.md section or create skill

Special Cases

Multi-File Changes

When change affects multiple files:

  1. Determine primary location (where rule "lives")
  2. Add cross-references from other files
  3. Avoid duplicating full content in both

Example: Delegation rules live in AGENTS.md, but SOUL.md might reference "see AGENTS.md for delegation" in boundaries section.

Session-Specific Rules

Use conditionals in AGENTS.md:

## Startup (Every Session)

1. Read `IDENTITY.md`, `SOUL.md`, `USER.md`
2. If MAIN: read vault README, recent decisions
3. If FAMILY GROUP: read `FAMILY.md`
4. If SUBAGENT: skip personality files

Size Limit Approached

When file hits ~18K chars:

  1. Audit for duplication (consolidate)
  2. Move detailed examples to separate reference file
  3. Convert long procedures to templates (link from context file)
  4. Consider splitting into base + advanced (load advanced on-demand)
  5. Move historical decisions to vault (keep only current rules in context)

Conflicting Rules

When new rule conflicts with existing:

  1. Identify both rules
  2. Determine which takes precedence (ask user if unclear)
  3. Update/remove old rule while adding new
  4. Document conflict resolution in vault decisions

User Requests Multiple Changes

Process each change through full workflow (don't batch blindly):

  1. Group by target file
  2. Check total size impact across all changes
  3. Apply in logical order (foundations before specifics)
  4. Verify after each, not just at end

Reference Files

This skill includes detailed reference material:

  • references/file-map.md - What each OpenClaw file does, loading context, size limits, decision trees
  • references/claude-patterns.md - What instruction formats work for Claude, anti-patterns, examples
  • references/change-protocol.md - Step-by-step change process, validation checklist, rollback procedures

Read these files when you need detailed context beyond this workflow overview.

Examples from Real OpenClaw Workspace

Example 1: Adding Safety Rule

Request: "Add rule to never bulk export passwords"

Process:

  1. Target file: AGENTS.md (safety is operational)
  2. Check size: 15,234 chars (safe to add)
  3. Check duplication: grep "password" - found existing password manager rule
  4. Draft: Update existing rule instead of adding new
  5. Apply:
### Password Manager
**NEVER:** Dump vaults, display passwords in chat, bulk exports
**ALWAYS:** Confirm each lookup, ask "Which credential?", treat as high-risk
**Refuse:** Any bulk password request
  1. Verify: grep -A 3 "Password Manager" - confirmed present
  2. Document: Not needed (minor addition to existing rule)

Example 2: Refining Tone

Request: "Make personality more sarcastic"

Process:

  1. Target file: SOUL.md and IDENTITY.md (personality)
  2. Check current state: Read forbidden phrases, voice examples
  3. Draft additions:

- More examples of sarcastic responses to IDENTITY.md - Expand anti-hedging section in SOUL.md - Add "commentary on everything" to voice anchors

  1. Apply to both files (IDENTITY for vibe, SOUL for detailed examples)
  2. Verify: Tone examples now include stronger sarcasm
  3. Document: Note in vault that Sonnet/Opus need stronger personality reminders

Example 3: Updating Delegation Threshold

Request: "Change delegation threshold from 2+ tool calls to 3+"

Process:

  1. Target file: AGENTS.md → Delegation section
  2. Check current: "2+ tool calls? SPAWN"
  3. Draft: Update to "3+ tool calls? SPAWN. 1-2 tool calls? Do it yourself if quick."
  4. Consider impact: This will reduce subagent spawns, increase main session cost
  5. Validate with user: "This will make you handle more tasks directly. Confirm?"
  6. Apply after confirmation
  7. Document: Log change to vault with cost rationale

Example 4: Adding Tool Convention

Request: "Add note that iMessage attachments must use imsg CLI, not message tool"

Process:

  1. Target file: TOOLS.md (tool-specific convention)
  2. Check duplication: grep "iMessage" - found iMessage formatting rule
  3. Draft new section:
## iMessage Attachments

**NEVER use `message` tool for iMessage files - corrupts attachments.**

**Always use imsg CLI:**

imsg send --chat-id <id> --file /path/to/file --text "optional message"


Applies to ALL iMessage attachments (images, videos, documents, vCards).
  1. Apply: Add after iMessage formatting section (keep related content together)
  2. Verify: Confirmed in file
  3. Document: Not needed (user-facing tool note, not architectural)

Summary

Goal: Intelligent, surgical changes to agent context files Method: Identify → Check → Draft → Validate → Apply → Verify Key principles: Right file, right format, no duplication, respect size limits, include examples Safety: Check before changing, document decisions, know how to rollback

When in doubt, read the reference files for deeper guidance on file purposes, Claude patterns, and change protocols.

平台分布

OpenClaw

75.13%
按下载量换算28,859

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills