Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

distill设计提炼

Agent Skill

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

总安装

541

周安装

23

GitHub Stars

8

下载量

190
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/phrazzld/claude-config --skill distill

简介

distill 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于研究检索类任务,可结合来源仓库和原始 README 核验具体用法。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 当前分类为研究检索,支持主流 Agent 宿主平台。

SKILL.md


description: Rewrite repo CLAUDE.md into the best onboarding guide for this project

DISTILL

Distill this repo's knowledge into a single, sharp CLAUDE.md.

Purpose

  • Rewrite the current repository's CLAUDE.md into the best possible onboarding + operating guide for this project.
  • Output must let a new contributor start useful work in minutes, without asking questions.
  • Scope is this repo only; global philosophy lives in ~/.claude/CLAUDE.md.

The Kill Test

Every line in CLAUDE.md must survive three questions:

  1. Discoverable? Would Claude figure this out from ls, cat package.json, or reading code? → DELETE
  2. Surprising? Does this describe something counter-intuitive or unexpected? If not → DELETE
  3. Earned by pain? Did this instruction come from something going wrong? → KEEP

Start with nothing. Wait for Claude to do something wrong. Write THAT down.

What to kill

  • File trees (Claude can ls)
  • "This project uses React with TypeScript" (Claude can see tsconfig.json)
  • Architecture descriptions that restate what code shows
  • Technology stack versions (in package.json)
  • Module lists (in imports)
  • Development philosophy restating linter/type config
  • Sprint plans, roadmaps, marketing copy, performance metrics
  • Build system descriptions (in build config)
  • Testing framework choice (in test config)

What survives

  • "Run yarn test:unit not npm test" — weird, not discoverable
  • "Don't touch src/legacy/ — three enterprise clients depend on it" — earned by pain
  • "The auth middleware is load-bearing, all of it, don't be a hero" — counter-intuitive
  • "DATABASE_URL not POSTGRES_URL — Prisma's Rust engine reads it before Node" — painful gotcha
  • "e2e tests can't run headless due to extension limitations" — surprising constraint

Inputs

  • Always read, if present:

- Repo AGENTS.md. - Existing repo CLAUDE.md. - Root README and any high-signal docs in docs/. - Key config / entry files (e.g. package.json, pyproject.toml, docker-compose.yml, main entrypoints).

Target Shape for CLAUDE.md

# CLAUDE

## Purpose
- What this repo is and why it exists.

## Architecture Map
- Main domains / services and how they fit.
- Where to start reading code (file:line).

## Run & Test
- Commands to run app, tests, lint, typecheck.
- Required env, secrets, or services.

## Quality & Pitfalls
- Definition of done, PR expectations, review norms.
- Non-obvious invariants, footguns, "never do X".

## References
- Key docs / ADRs / diagrams (paths).
- External systems / dashboards / runbooks.

The Codex First-Draft Pattern

Codex drafts the new CLAUDE.md. You review and refine.

codex exec "DISTILL: Rewrite CLAUDE.md for this repo. Read README, ARCHITECTURE.md, docs/, and key code. Follow target shape below. Output to /tmp/claude-draft.md" \
  --output-last-message /tmp/codex-distill.md 2>/dev/null

Review Codex's draft. Refine for accuracy and compression.

Algorithm

  1. Gather (Codex does this)

- Read inputs; understand what the repo does, how it runs, and how it fits into the wider system.

  1. Kill Test every line

- For each line, ask three questions: - Discoverable? Would Claude figure this out from ls, cat package.json, or reading code? → DELETE - Surprising? Does this describe something counter-intuitive? If behavior is what you'd expect → DELETE - Earned by pain? Did this come from something going wrong? → KEEP - Also classify: - General / global → belongs in ~/.claude/CLAUDE.md, do not restate here. - Marketing copy / roadmaps / sprint plans → DROP (not instructions)

  1. Draft new CLAUDE.md (Codex produces first draft)

- Fill the target shape above with tight, repo-specific bullets. - Prefer bullets over paragraphs; every line must earn its place. - Link to existing docs instead of duplicating them.

  1. Compress

- Apply the 3-2-1 test: - 3 key decisions or invariants newcomers must know. - 2 critical insights about architecture or workflow. - 1 clear starting point in the codebase. - Rewrite soft prose into sharp, actionable lines.

  1. Validate

- Run the checklist below. - Only propose the new CLAUDE.md once all checks pass.

Checklist (must pass)

  • Readable in ≤3 minutes; roughly ≤80 lines.
  • Every line fails the Kill Test (not discoverable from code/config/ls).
  • Run commands included (only if non-obvious — skip if standard pnpm dev/test/build).
  • Captures footguns, gotchas, and "don't touch X" warnings.
  • No file trees (Claude can ls).
  • No technology stack listings (Claude can read package.json).
  • No architecture descriptions that restate what code shows.
  • No marketing copy, roadmaps, or sprint plans.
  • Links to deeper docs / ADRs instead of copying them.
  • Does not restate global behavior or philosophy from ~/.claude/CLAUDE.md.

Compression Examples

Kill (discoverable): "The project uses Turborepo with pnpm workspaces, Next.js 15, React 19, Tailwind CSS, and TypeScript strict mode." → Claude can read package.json and tsconfig.json.

Kill (not surprising): "Content scripts inject into web pages. Background scripts handle lifecycle. Core modules have specific responsibilities." → This is what every browser extension does.

Kill (file tree):

├── apps/web/       # Next.js app
├── packages/common/ # Shared types
└── turbo.json      # Turborepo config

→ Claude can ls.

Keep (earned by pain): "DATABASE_URL not POSTGRES_URL — Prisma's Rust engine reads it before Node.js starts. Runtime env modifications are too late in serverless."

Keep (surprising): "e2e tests can't run headless due to browser extension limitations."

Keep (load-bearing): "Don't touch src/legacy/ — three enterprise clients depend on it, and there are no tests."

Philosophy

  • Maximum signal per word.
  • Document what is not obvious from code or README.
  • If you can't find 3 decisions, 2 insights, and 1 starting point, read more code before writing.

Graduation Rules

CLAUDE.md is a staging area for learnings. When sections grow, graduate them:

  • Patterns section > 10 lines → extract to a skill
  • Rules section > 5 items → extract to an agent
  • Workflow section > 3 steps → extract to a command

Keep CLAUDE.md lean. Knowledge graduates to executable artifacts.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.55%
按下载量换算73

Claude

28.39%
按下载量换算54

Cursor

18.49%
按下载量换算35

Gemini CLI

9.38%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills