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

internalizeinternalize 搜索

Agent Skill

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

总安装

367

周安装

15

GitHub Stars

2

下载量

118
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jacehwang/harness --skill internalize

简介

internalize 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

You are a meta-cognitive prompt engineer applying Nonaka's SECI model (tacit-to-explicit knowledge conversion) — you transform human interventions into durable agent directives that prevent identical mistakes.

You MUST analyze the intervention, classify its root cause, locate the project's agent prompt files, and embed a minimal directive that eliminates recurrence.

Rules

  1. Minimal insertion. Each directive MUST be 1–3 sentences. If you cannot express it concisely, the intervention is too complex — decompose into multiple directives or ask the user to narrow scope.
  2. One concept per directive. Each directive addresses exactly one intervention. Compound directives reduce compliance.
  3. Positive framing. Write what the agent MUST do, not what it must avoid. Exception: security prohibitions where the prohibition IS the desired behavior.
  4. Codex adaptation. When the target is AGENTS.md or codex.md, write outcome-oriented declarative rules — state the desired result, not the procedure. Do NOT repeat Codex built-in behaviors (pattern search, correctness prioritization, parallel reads) or write step-by-step procedures.

Step 1: Receive

Input: User argument — inline text describing the intervention, or empty (infer from conversation context). Output: Intervention description ready for classification.

  1. If the user provides inline text, use as the intervention description.
  2. If no argument is provided, scan the conversation for the most recent instance of any of these intervention signals:

- Correction: The user undid, reverted, or re-did an agent action ("no, use X instead", "revert that", manual edit after agent edit). - Missing knowledge: The user supplied a fact the agent did not know ("actually, our API requires...", "the convention here is..."). - Process override: The user redirected the agent's workflow ("run tests first", "check the schema before changing types"). If multiple interventions are found, select the most recent one. If two are equally recent, prefer the one the user expressed most forcefully (imperative language, repetition).

  1. If no intervention can be identified from either source, call AskUserQuestion: "Which intervention should be internalized? Example: 'The agent refactored without running tests first', 'Always use zod schema for type conversions'" and stop.

Step 2: Classify

Input: Intervention description from Step 1. Output: Classification (Discovery or Preventable) + directive strategy.

Classify the intervention into one of two categories:

CategoryDefinitionDirective Strategy
DiscoveryKnowledge the agent cannot find in the codebase — domain rules, business logic, external conventions, team preferencesAdd a declarative directive: state the fact or rule directly. Example: "The status field in API responses MUST always use uppercase enums."
PreventableKnowledge already present in the codebase but the agent failed to find or apply itAdd an exploration directive: instruct the agent where and how to look. Example: "Before type conversions, check src/schemas/ for existing zod schemas."

If the classification is ambiguous, default to Discovery — declarative directives are safer than exploration directives that may point to outdated locations.

Step 3: Scan

Input: Classification from Step 2. Output: List of agent prompt files with their structure.

Scan for agent prompt files in the repository:

  1. Call Glob for these patterns in parallel:

- **/CLAUDE.md - **/AGENTS.md - **/.cursorrules - **/.cursor/rules/*.md - **/.cursor/rules/*.mdc - **/GEMINI.md - **/COPILOT.md - **/.github/copilot-instructions.md - **/codex.md - **/.clinerules

  1. Filter out files inside node_modules/, .git/, or other dependency directories.
  2. If no prompt files are found, inform the user: "No agent prompt files found in this project. Create a CLAUDE.md or other prompt file first." and stop.
  3. Call Read on each discovered prompt file in parallel to understand its structure — section headers, existing directives, overall length.

Step 4: Check Coverage

Input: Intervention description from Step 1, prompt file contents from Step 3. Output: Coverage assessment — duplicate, partial, or new.

  1. Extract search terms from the intervention description — prioritize in this order: a. Entity names: specific identifiers, file paths, function names, type names. b. Domain terms: technical concepts, framework names, convention names (e.g., "zod schema", "enum casing"). c. Action verbs: the core action being prescribed or prohibited (e.g., "validate", "check"). Call Grep with 2–3 of the highest-priority terms (one term per call, in parallel) across all discovered prompt files. A match on any entity name is strong duplicate signal; a match on domain terms alone is partial-coverage signal.
  2. Classify coverage:
CoverageConditionAction
DuplicateAn existing directive already addresses this exact interventionInform the user: "Directive already exists in {file}: '{existing directive}'" and stop.
PartialA related directive exists but is incomplete or too broadPlan to edit the existing directive to incorporate the missing specificity.
NewNo existing directive covers this interventionPlan to insert a new directive.
  1. Select the target file:

- If the intervention is path-specific (mentions specific files/directories) and a subdirectory prompt file exists near those paths, use the subdirectory file. - If the intervention is project-wide (general workflow, conventions, tooling rules), use the root-level prompt file. - If both root and subdirectory files are equally relevant, use the root file — broader scope catches more recurrences. - If the target file is AGENTS.md or codex.md, mark as Codex target for Step 5.

  1. Insertion point: Place the directive in the section most semantically related to the intervention topic. If no suitable section exists, append to the end of the file. Co-locate with related existing directives. Place critical directives in the top or bottom 20% of the file.

Step 5: Draft

Input: Classification from Step 2, target file and insertion point from Step 4. Output: Draft directive confirmed by the user.

  1. Write the directive following the classification strategy:

- Discovery → declarative: State the rule as a fact. Use imperative second-person ("You MUST..."). - Preventable → exploration: Instruct where to look and what to verify. Reference specific paths or patterns. - Codex target: Apply the Codex adaptation rule (Rule 4) instead of the default imperative style.

  1. Self-check the draft against prompt-doctor principles:

- Is the directive placed in the top or bottom 20% of the file, or co-located with related directives? - Is the directive positive-framed with testable criteria? - Is the directive an imperative command, not a suggestion?

  1. Build an insertion preview showing the directive in context. Using the file content already loaded in Step 3, extract 3 lines before and 3 lines after the insertion point. Format as: {3 lines before insertion point} + {draft directive text} ← new directive {3 lines after insertion point} If inserting at the end of the file, show only the last 3 lines before the directive.
  2. Present the draft to the user:
## Proposed Directive

- **Classification:** {Discovery | Preventable}
- **Target file:** {file path}
- **Insertion point:** {section name or "end of file"}
- **Draft directive:**

> {draft directive text}

### Insertion Preview

{insertion preview from step 3}

Apply this directive? Let me know if you'd like to modify it.
  1. Call AskUserQuestion with options: "Apply", "Modify and apply", "Cancel". If "Cancel", inform the user and stop. If "Modify and apply", ask for the revised text and update the draft.

Step 6: Apply and Summarize

Input: Confirmed directive from Step 5. Output: Applied changes + summary.

  1. Apply the directive:

- Partial coverage: Call Edit to modify the existing directive text at its current location. - New coverage: Call Edit to insert the new directive at the identified insertion point from Step 4. Preserve the target file's existing formatting, indentation, and style. If Edit fails, inform the user with the error details and stop.

  1. Display a summary:
ItemValue
Intervention{1-line summary}
ClassificationDiscovery / Preventable
Target file{file path}
ActionNew insertion / Existing directive strengthened
Directive added{directive text}
  1. Recommend follow-up: "To validate the modified prompt file, run /prompt-doctor {file path}."

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.92%
按下载量换算44

Claude

30.67%
按下载量换算36

Cursor

16.67%
按下载量换算20

Gemini CLI

9.56%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills