Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

evolve-context发展背景

Agent Skill

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

总安装

235

周安装

10

GitHub Stars

1

下载量

82
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:evolve-context(发展背景)
来源仓库:https://github.com/llblab/skills
仓库路径:skills/evolve-context
安装命令:
npx skills add https://github.com/llblab/skills --skill evolve-context
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/llblab/skills --skill evolve-context

简介

管理任务后上下文同步协议,支持现实变更触发或按需执行背景更新。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中多轮对话与长期记忆维护场景。
  • 提供 ALWAYS_ON 监控与 ON_REQUEST 审计两种模式,平衡性能与准确性。
  • 建议仅在必要时启用全生命周期审计,避免过度消耗计算资源。
  • evolve-context 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Evolve Context

Basics

Activation

  • 'POST_TASK' (default) — run the post-task protocol when reality changed enough to justify context sync
  • 'ALWAYS_ON' (opt-in) — monitor every interaction; use only when explicitly requested
  • 'ON_REQUEST' — full context lifecycle audit when the user asks

Paths

Managed Targets

  • 'Root README': README.md — top-level human entry point and root navigation
  • 'Subtree README files': **/README.md — local human entry points for subsystems, workspaces, packages, and tools
  • 'Durable protocol': AGENTS.md (fallbacks: CLAUDE.md, CODEX.md, GEMINI.md, CONTEXT.md)
  • 'Canonical open-work file': BACKLOG.md (fallbacks: TODO.md, PLAN.md, ROADMAP.md)
  • 'Completed delivery history': CHANGELOG.md
  • 'Docs index': /docs/README.md
  • 'Project docs': /docs/

Purpose

Maintain a living knowledge system with a truthful split between durable protocol, open work, completed delivery, human entrypoint README files, and subsystem documentation.

'Core guarantee': Durable rules stay durable. Open work stays open. Completed work moves to history. README entrypoints stay trustworthy. Docs stay discoverable.

Axioms

A1: Reflexive Integrity

The protocol applies its own rules to itself. Process context (AGENTS.md) ≠ open work (BACKLOG.md) ≠ completed delivery (CHANGELOG.md) ≠ subsystem docs (/docs).

A2: Constraint-Driven Evolution

Complexity is earned through discovered constraints, not invented upfront. But once those constraints are real, the protocol should actively restructure flat or drifting context into a more truthful hierarchy instead of preserving accidental shape forever.

A3: Single Source of Truth

Every fact lives in exactly one authoritative place. Navigate by hierarchy; do not duplicate state across root files.

A4: Root State Separation

Preferred organic standard: AGENTS.md + BACKLOG.md + CHANGELOG.md.

  • AGENTS.md — durable protocol, conventions, naming, architectural memory
  • BACKLOG.md — what remains open, blocked, gated, or next
  • CHANGELOG.md — what has landed

A5: Backlog State Truth

Docs, code, and changelog updates do not implicitly close plan items. If reality changed, the canonical open-work file must change in the same pass.

A6: Human Entrypoint Continuity

README.md files are not decorative. Root and subtree README files are the human navigation plane and must be kept honest when topology, setup, ownership, or usage reality changes.

Root Memory Architecture

README.md        ← root human entry point
*/README.md      ← subtree human entry points
AGENTS.md        ← durable protocol / context / conventions
BACKLOG.md       ← canonical open work / next slices / gates
CHANGELOG.md     ← completed delivery history
docs/README.md   ← documentation index
docs/*           ← subsystem contracts and architecture

Routing Decision Tree

About project identity / top-level entry?   → README.md
About a subsystem starting point?           → nearest relevant subtree README.md
About how we work?                          → AGENTS.md
About what remains open?                    → BACKLOG.md
About what landed already?                  → CHANGELOG.md
About what we build or ship?                → /docs/*, then sync docs/README.md

Connectivity Invariant

  • Root README.md should expose the full root control plane: AGENTS.md, BACKLOG.md, CHANGELOG.md, and docs/README.md
  • Subtree README.md files should remain reachable from some parent/root/docs navigation path
  • When a subtree becomes a real human entry point, its local README.md should be updated alongside the corresponding ABC and /docs truth

Activation Modes

Mode 1: POST_TASK (Default)

'Trigger decision tree':

Task touched any *.md file?              → YES → run POST_TASK
                                          NO  → Changed public APIs/architecture? → YES → run POST_TASK
                                                                                   NO  → Changed canonical backlog state? → YES → run POST_TASK
                                                                                                                         NO  → Completed a meaningful slice? → YES → run POST_TASK
                                                                                                                                                              NO  → skip

'Farmville guard': Before writing any update, ask: "Does this preserve durable wisdom, correct open-work truth, record completed delivery, or repair README/docs discoverability?" If no → skip. Silence is a valid output.

'Light post-task' (small scoped task, no architecture shift):

  1. EVALUATE — anything worth capturing?
  2. BACKLOG SYNC — close, narrow, split, retarget, or gate open work if reality changed
  3. README SYNC — update the touched root/subtree README entrypoints when setup, ownership, layout, usage truth, or same-domain insights changed
  4. DOCS SYNC — update the appropriate contract/architecture doc when implementation or public behavior changed
  5. CHANGELOG SYNC — record the delivered slice if something materially landed
  6. AGENTS SYNC — update durable protocol only if a reusable pattern or constraint emerged
  7. CONNECTIVITY SYNC — keep README reachability and docs/README.md honest when touched scope changed navigation

'Full post-task' (broad diff, architectural impact, or context refactor):

  1. EVALUATE — anything worth capturing?
  2. BACKLOG SYNC — repair open-work truth first
  3. README SYNC — reconcile root and subtree README entrypoints with the shipped state and same-domain lessons from the work
  4. DOCS SYNC — update the relevant subsystem docs
  5. CHANGELOG SYNC — add the completed delivery entry
  6. AGENTS SYNC — promote reusable insight into durable protocol
  7. CONSOLIDATE — merge duplicates and remove stale context
  8. CONNECTIVITY SYNC — ensure root/docs/README navigation still matches reality
  9. VALIDATE — bash "${SKILL_DIR}/scripts/validate-context"

Mode 2: ALWAYS_ON (Opt-in)

Only when explicitly requested. Track surprises, stale docs, stale README entrypoints, backlog drift, repeated mistakes, and root-state confusion during any task, then capture them in POST_TASK.

Mode 3: ON_REQUEST (Explicit)

Full forced reconciliation pass across ABC + README tree + /docs, followed by validation. See protocols.md.

Pre-Task Protocol

  1. READ AGENTS.md — align with durable conventions
  2. READ BACKLOG.md or the canonical plan file — understand open work and current framing
  3. READ the nearest relevant README.md files — root first, then touched subtree entrypoints
  4. READ docs/README.md — understand documentation topology
  5. REVIEW the relevant /docs files for the touched subsystem
  6. MARK which README entrypoints sit in the same work domain and may need insight refresh after the task
  7. REVIEW recent CHANGELOG.md entries when recent shipped baseline matters
  8. PROCEED with task execution

Entry Templates

Defaults for new files and restructuring targets for existing ones. If a file already has a format, match that format unless the current structure is clearly flatter, drifted, or less truthful than the template hierarchy — in that case, evolve it toward the template rather than preserving accidental shape. Full templates: docs/templates.md

Quick Reference

'AGENTS entry':

- '[label]': [description of insight or rule] | Trigger: [cause] | Action: [what to do]

'BACKLOG item':

- [ ] `[Slice]` [Concrete remaining work with truthful exit criteria]

'CHANGELOG entry':

- `[Area]` [Delivered slice]. Impact: [what changed].

Tooling: validate-context

Automated documentation health checker for the ABC root-memory split, README entrypoint graph, and docs plane.

  • 'Bootstrap': "${SKILL_DIR}/scripts/_bootstrap" installs validate-context into ~/.local/bin
  • 'Design': docs/validation-design.md
  • 'Usage': bash "${SKILL_DIR}/scripts/validate-context" from project root
  • 'Override root': VALIDATE_CONTEXT_ROOT=/path/to/project bash...
  • 'Exit 0' = passed, 'Exit 1' = errors found

Backlog Sync Rules

When a task changes the true state of open work, update the canonical plan file in the same pass.

Allowed plan-state operations:

  • 'Close' — exit criteria now satisfied in reality
  • 'Narrow' — part landed; describe only the remaining work
  • 'Split' — one vague item became multiple concrete slices
  • 'Retarget' — wording no longer matches the real remaining task
  • 'Defer' — still valid, but not the best next slice
  • 'Gate/Block' — remaining work depends on another condition

Rules:

  • Keep at least one concrete next slice when an epic stays open
  • Do not let docs or changelog silently carry work that still appears open in the plan
  • Do not keep evergreen maintenance disciplines as unchecked backlog items; move them into AGENTS.md or /docs

Lifecycle & Maintenance

  • 'Growth control': discovery → durable rule / open slice / completed delivery / entrypoint sync
  • 'GC triggers': 3+ bloat signals from validator → mandatory garbage collection
  • 'Root split discipline': completed delivery belongs in CHANGELOG.md, not rolling AGENTS.md history
  • 'Hybrid context discipline': serve the full context graph (ABC + README tree + /docs), not one layer in isolation
  • 'Template-as-restructuring-target': templates are not only for greenfield bootstrapping; they are the target shape for reorganizing existing context when the current structure is flatter, drifted, or harder to navigate
  • 'README domain discipline': if meaningful work happened inside a domain that has its own README.md, refresh that local entrypoint with the resulting insight when the README is the honest human starting point for that area
  • 'Details': protocols.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.65%
按下载量换算28

Claude

30.13%
按下载量换算25

Cursor

17.99%
按下载量换算15

Gemini CLI

10%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills