Index of every page on this site: llms.txt
All skills
cat-xierluo avatar

/self-evolve

@5fb69a0
Run it yourself

扫描本机 Claude Code、Codex、WorkBuddy、CodeBuddy、ZCode 等 Agent 会话,保留初始化和增量处理记录,低成本初筛后由当前 Agent 提炼经验、迭代与 Skill 沉淀建议,生成可独立打开的 HTML 报告。也用于复盘当前对话、接续每周沉淀或检查扫描覆盖。无需单独配置模型 API Key;不自动应用建议或安装 Skill。

Use this Skill: https://skilld.dev/gh/cat-xierluo/legal-skills/self-evolve

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

references02-core-skills-yaml.md

≈454 tokens on demand. Your agent reads this file only when SKILL.md points to it.

核心 Skill 配置

config/core_skills.yaml 是本地个人配置,不入 Git(入 Git 的是模板 config/core_skills.example.yaml,复制后填写)。它是重点关注配置,不是全仓 Skill 清单;自动 inventory 才是候选全集。文件缺失时 inventory 使用默认 agent 目录来源、重点覆盖为空,功能可正常运行。

最小结构

version: "2.0"
last_updated: "YYYY-MM-DD"

skill_sources:
  private-skills: <private-skills-root>
  legal-skills: <legal-skills-root>

core_skills:
  - id: example-skill
    display_name: 示例 Skill
    source: private-skills
    function: 说明输入、动作和产出
    domain_keywords:
      - 领域词
    priority: high
    last_reviewed: YYYY-MM-DD

字段约束

  • skill_sources:提供 inventory 扫描根;不要给同一真实目录配置多个别名。
  • core_skills[].id:与目标目录或 frontmatter name 保持稳定映射。
  • source:引用 skill_sources 中的键。
  • 目标 Skill 的版本与内容哈希只从 runtime inventory 读取;不要在重点配置中复制 version 或 upgrade_target,避免长期漂移。
  • function:用一句可验证描述说明能力,不复制整份正文。
  • domain_keywords:用于候选路由和聚类加权,不单独决定提案接受。
  • priority:只影响审阅优先级,不把非核心 Skill 排除出候选全集。
  • references:只记录目标 Skill 内部的相对路径。

输出路径

output_paths 只表达 <data-root> 下的逻辑位置。实际根由 scripts/self_evolve_paths.py 统一解析;不要在业务脚本中重复拼接源码树路径。

修改配置后运行:

python3 scripts/refresh_skill_inventory.py
python3 scripts/scheduler_run.py --validate-config --json

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning18d3 checks · Risk SAFE
  • Gen Agent Trust Hub18d

    The skill is a tool for analyzing local AI agent session history to suggest improvements. It naturally requires access to local logs and performs local script execution, but it includes robust privacy gating and instructions to mitigate risks from untrusted data.

  • Socket18d

    No alerts

  • Snyk18d

    Risk: MEDIUM · 1 issue

Signed by skilld at 5fb69a0. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 4 weeks ago
Other metadata
metadata
{
  "version": "1.28.1",
  "homepage": "https://github.com/cat-xierluo/legal-skills",
  "author": "杨卫薪律师(微信ywxlaw)"
}

README badge

README badge for cat-xierluo/legal-skills/self-evolve