Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

salvagesalvage 搜索

Agent Skill

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

总安装

1,616

周安装

68

GitHub Stars

1

下载量

566
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/open-horizon-labs/skills --skill salvage

简介

用于查找、检索和筛选相关信息。salvage 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合根据关键词或任务场景快速定位候选结果。
  • 可结合来源仓库和原始 README 继续核验用法。
  • 安装前建议确认权限范围和维护状态。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 注意是否会触发联网、命令执行或文件读写。

SKILL.md

/salvage

Extract learning from work before restarting. Code is cheap; learning is the asset.

When to Use

Invoke /salvage when:

  • Work is drifting - approach has changed direction multiple times
  • Scope expanding while "done" keeps fuzzing - the finish line keeps moving
  • Starting over feels right - but you don't want to lose what you learned

Do not use when: Work is on track and converging. Salvage is for extraction before restart, not routine reflection.

The Salvage Process

Step 1: Acknowledge the State

"This session/approach is being salvaged because [reason]. The original aim was [aim]. What happened was [reality]."

Step 2: Extract Five Things

Work through these categories. Extract what's present.

If RNA MCP is available: Before extracting, call oh_search_context with the failure domain and active phase. Was this failure predictable from the corpus? Three outcomes change what gets written:

  • Relevant entry existed and applied — the learning is about process (corpus not consulted), not domain. Write process metis, not domain metis.
  • Relevant entry existed but was insufficient — update or strengthen existing entries rather than creating near-duplicates.
  • Nothing found — new territory. Write fresh metis with confidence.

1. Model Shifts (What changed your understanding?)

  • What assumptions were wrong?
  • What would you tell yourself at the start of this work?
"I thought X, but Y."

2. Guardrails (Constraints discovered the hard way)

  • What boundaries should have been explicit from the start?
  • What "don't do this" rules emerged?
  • What edge cases bit you?

Format as explicit constraints:

Guardrail: [boundary]
Reason: [why this matters]
Trigger: [when to revisit this constraint]

3. Missing Context (What would have helped upfront?)

  • What questions should have been asked at the start?
  • What existing code/patterns should have been found first?
"If I had known about [X], I would have [Y] instead."

4. Local Practices (Hard-won lessons worth encoding)

Good local practices are:

  • Specific enough to be actionable, general enough to apply beyond this case
  • Non-obvious (not "write tests" but "this API silently returns 200 on auth failure")
  • Situated and decision-changing, not generic advice a foundation model already knows

5. What Worked (Don't lose the wins)

  • What approaches or code fragments are worth keeping?
  • What partial solutions could seed the restart?

Step 3: Package for Fresh Start

Synthesize the extraction into a restart kit:

## Salvage Summary

### Original Aim
[What we were trying to achieve]

### Why Salvaged
[Direct statement of what went wrong]

### Key Learnings
1. [Learning 1]
2. [Learning 2]
3. [Learning 3]

### New Guardrails
- [Guardrail 1]
- [Guardrail 2]

### Context for Restart
[What the next attempt should know before starting]

### Reusable Fragments
[Any code, patterns, or approaches worth keeping]

Step 4: Persist Learnings (if available)

Persist the metis, not the noise. Record the non-obvious constraints, anomalies, trade-offs, and local patterns that would change a later decision. Generic best-practice advice that adds no local leverage should be left out of the artifact.

If Open Horizons MCP is available:

  1. Log to OH — Log tribal knowledge and guardrails to the graph
  2. Update AGENTS.md — If learnings are project-wide, suggest additions
  3. Record to RNA (if available) — oh_record_metis for new learnings (no duplicates), oh_record_guardrail_candidate for hard constraints, outcome_progress to record what was accomplished before restarting

If no persistent storage is available, output the salvage summary for the user to capture manually.

Meta-signal: If salvage repeatedly surfaces similar learnings, the corpus has the knowledge but it’s not being consulted. That pattern warrants /distill.

Output Format

Always produce a salvage summary in this structure:

## Salvage Report

**Salvaged:** [date/session identifier]
**Reason:** [why this work is being salvaged]
**Original Aim:** [what we were trying to do]

### Learnings
[Numbered list of key insights]

### New Guardrails
[Explicit constraints with reason and trigger]

### Missing Context
[What would have helped]

### Local Practices
[Hard-won wisdom to encode]

### Reusable Fragments
[Code or patterns worth keeping]

### Fresh Start Recommendation
[How to approach this next time]

Session Persistence

Reads: Everything — Aim, Problem Statement, Problem Space, Solution Space, Execute, Review — to understand what was attempted and what happened.

Writes: Salvage report seeding the next session:

## Salvage
**Updated:** <timestamp>
**Outcome:** [extracted learnings, ready for restart]

[salvage report: learnings, guardrails, context for fresh start]

Position in Framework

Comes after: /review (drift detected) or /execute (thrashing recognized). Leads to: /aim or /problem-space with fresh understanding.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.74%
按下载量换算202

Claude

29.15%
按下载量换算165

Cursor

18.89%
按下载量换算107

Gemini CLI

8.79%
按下载量换算50

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills