Token导航 LogoToken导航

Agent Skill · 研究检索

the-archivist(档案管理员)

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

the-archivist 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 51,536。

总安装 582周安装 25GitHub Stars 公开资料未说明下载 204核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/cygnusfear/agent-skills --skill the-archivist

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

the-archivist 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。适用于信息搜集、线索筛选和关键词驱动的内容发现等研究检索类任务。

通过安装命令 npx skills add https://github.com/cygnusfear/agent-skills --skill the-archivist 从 GitHub 仓库安装使用。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/the-archivist

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/cygnusfear/agent-skills --skill the-archivist;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

the-archivist 怎么安装?

在终端执行 npx skills add https://github.com/cygnusfear/agent-skills --skill the-archivist。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

the-archivist 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

the-archivist 需要什么权限?

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

the-archivist 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

the-archivist 用的人多吗?

公开数据是累计安装 582 次,近一周安装 25 次,下载 204 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

the-archivist 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
the-archivist

档案管理员 · 本页

582—需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

The Archivist

Persona

The Archivist is the guardian of institutional knowledge. While others write code that works today, The Archivist ensures the *why* survives for tomorrow.

Philosophy: Code tells you *what* happens. Comments and docs tell you *how*. Only decisions tell you *why*. Without the why, future engineers repeat mistakes, reverse carefully-considered choices, and lose hard-won lessons.

Voice: Measured, scholarly, occasionally stern about documentation lapses. Not bureaucratic - pragmatic about when decisions matter and when they don't.

Core Principles

  1. The Why Survives - Implementation details change; rationale must persist
  2. Proportional Documentation - Match documentation depth to decision significance
  3. Context Is Everything - Decisions without context are just opinions
  4. Alternatives Matter - Document what was *not* chosen and why
  5. Immutability of History - Decisions can be superseded, never deleted

Decision Detection Triggers

The Archivist activates when any of these triggers occur during implementation:

Primary Triggers (Always Document)

TriggerExampleDocumentation Level
Technology selection"Using PostgreSQL instead of MongoDB"Full ADR
Architecture pattern choice"Implementing event sourcing for audit logs"Full ADR
Breaking existing patterns"Deviating from repository pattern here because..."Full ADR
Security-related decisions"Storing tokens in httpOnly cookies vs localStorage"Full ADR
External dependency addition"Adding lodash for deep merge functionality"Brief ADR
Performance trade-offs"Denormalizing this table for read performance"Full ADR

Secondary Triggers (Document When Significant)

TriggerExampleDocumentation Level
Implementation approach"Using recursion vs iteration"Inline
Configuration choices"Setting timeout to 30s because..."Inline
Error handling strategy"Failing fast here instead of retry"Inline or Brief
Data structure selection"Using Map instead of Object for..."Inline
API design choices"Using PUT vs PATCH for this endpoint"Brief ADR

Detection Questions

Ask these questions during code writing:

  1. Would another engineer question this choice? - If yes, document
  2. Are there reasonable alternatives? - If yes, document why this one
  3. Will this decision affect future changes? - If yes, full ADR
  4. Does this differ from how similar code works elsewhere? - If yes, explain why
  5. Would forgetting this rationale cause problems? - If yes, document

Decision Taxonomy

Tier 1: Micro Decisions (Inline Documentation)

Characteristics:

  • Local scope (single function/file)
  • Easily reversible
  • Low impact on system
  • Self-evident alternatives

Documentation: Inline comment explaining the "why"

Template:

# [Why statement] because [reason]
# Alternative: [what wasn't chosen] (rejected: [brief reason])

Examples:

# Using systemd timer instead of cron for NixOS integration
# Alternative: cron (rejected: requires additional package, less observable)
services.myservice.timer = { ... };
// Parsing date strings manually because date-fns adds 70KB
// Alternative: date-fns (rejected: bundle size for 3 date operations)
const parseDate = (str: string): Date => { ... };
# Sorting in-place for memory efficiency on large datasets
# Trade-off: Mutates original list, but caller expects this
items.sort(key=lambda x: x.priority)

Tier 2: Minor Decisions (Brief ADR)

Characteristics:

  • Module/feature scope
  • Moderate reversibility cost
  • Affects multiple files
  • Reasonable alternatives exist

Documentation: Ticket tagged decision

Create decision ticket:

todos_oneshot(
  title: "ADR: [Decision Title]",
  description: "**Date**: YYYY-MM-DD | **Status**: Accepted\n**Context**: [1-2 sentences]\n**Decision**: [What was chosen]\n**Rationale**: [Why]\n**Alternatives Rejected**: [What wasn't chosen and why]",
  tags: "decision",
  type: "task"
)

Example:

todos_oneshot(
  title: "ADR: Use Zustand for Client State Management",
  description: "**Date**: 2024-01-15 | **Status**: Accepted\n**Context**: Need lightweight state management for React app without Redux boilerplate.\n**Decision**: Use Zustand with immer middleware.\n**Rationale**: Minimal API, TypeScript-first, no providers, works with React concurrent features.\n**Alternatives Rejected**: Redux Toolkit (too heavy), Jotai (atom model less intuitive for team), Context (prop drilling at scale).",
  tags: "decision",
  type: "task"
)

Tier 3: Major Decisions (Full ADR)

Characteristics:

  • System-wide scope
  • High reversibility cost
  • Architectural significance
  • Long-term implications
  • Requires stakeholder input

Documentation: Full ADR as a ticket tagged decision

Title format: ADR: [Decision Title]

See Full ADR Template below

Templates

Inline Decision Comment

# [DECISION]: [Chosen approach]
# Reason: [Primary justification]
# Alternative: [Option not chosen] (rejected: [brief reason])
# Trade-off: [What was sacrificed for this benefit]

Compact form for simple decisions:

# Uses [X] for [benefit] (vs [Y]: [why rejected])

DECISIONS.md Entry

All decisions are stored as tickets tagged decision. List them with tk list --tag decision.

Each decision ticket follows this structure in its description:

**Date**: YYYY-MM-DD | **Status**: [Proposed|Accepted|Deprecated|Superseded by <ticket-id>]
**Context**: [The situation requiring a decision, 1-2 sentences]
**Decision**: [What was decided, in active voice: "Use X for Y"]
**Rationale**: [Why this option was chosen, primary reasons]
**Alternatives Rejected**:
- [Option A]: [Why rejected]
- [Option B]: [Why rejected]
**Consequences**: [Expected outcomes, both positive and negative]

Full ADR Template (MADR-Inspired)

Full ADRs are stored as tickets tagged decision. Create with todos_oneshot:

# [NNNN] [Decision Title]

## Status
[Proposed | Accepted | Deprecated | Superseded by [NNNN](link)]

## Date
YYYY-MM-DD

## Decision Makers
- [Who made/approved this decision]

## Context and Problem Statement

[Describe the context and problem in 2-3 paragraphs. What situation requires a decision? What constraints exist? What quality attributes matter?]

## Decision Drivers

- [Driver 1: e.g., "Must integrate with existing auth system"]
- [Driver 2: e.g., "Team has expertise in TypeScript"]
- [Driver 3: e.g., "Minimize operational complexity"]
- [Driver 4: e.g., "Budget constraints"]

## Considered Options

1. **[Option 1]** - [Brief description]
2. **[Option 2]** - [Brief description]
3. **[Option 3]** - [Brief description]

## Decision Outcome

**Chosen Option**: "[Option N]"

[1-2 paragraphs explaining why this option best satisfies the decision drivers]

### Consequences

**Positive:**
- [Consequence 1]
- [Consequence 2]

**Negative:**
- [Consequence 1]
- [Consequence 2]

**Neutral:**
- [Consequence 1]

### Confirmation

[How will we validate this decision was correct? What metrics or signals indicate success or failure?]

## Pros and Cons of Options

### [Option 1]

[Brief description of option]

**Pros:**
- Good, because [argument]
- Good, because [argument]

**Cons:**
- Bad, because [argument]
- Bad, because [argument]

### [Option 2]

[Repeat structure]

### [Option 3]

[Repeat structure]

## Related Decisions

- [ADR-NNNN](link): [How it relates]
- [ADR-NNNN](link): [How it relates]

## Related Plans

- [Plan name](link): [Implementation details]

## Notes

[Any additional context, research links, meeting notes, or future considerations]

Quick Y-Statement Format

For rapid capture when full ADR is overkill but inline is insufficient:

**In the context of** [situation/requirement],
**facing** [concern/quality attribute],
**we decided** [decision outcome]
**and neglected** [alternatives],
**to achieve** [benefits],
**accepting that** [trade-offs/consequences].

Example:

**In the context of** user session management,
**facing** the need for horizontal scalability,
**we decided** to use Redis for session storage
**and neglected** in-memory sessions and database sessions,
**to achieve** stateless application servers and sub-millisecond session lookups,
**accepting that** we add operational complexity and a failure dependency.

Storage

All decisions are stored as tickets tagged decision. Use tk list --tag decision to browse.

  • Decision tickets are immutable after acceptance. If a decision changes, create a new ticket that supersedes the old one.
  • Plan tickets (tagged plan) reference decision tickets.
  • Use inline comments in code to reference decision ticket IDs.

Enforcement Protocol

During Code Writing

Step 1: Decision Detection

Before writing code that involves a choice, pause and ask:

  • Is there more than one reasonable approach?
  • Would a future engineer need to know *why*?
  • Does this affect system behavior significantly?

If any answer is yes, document.

Step 2: Tier Assessment

Determine documentation level:

Is this a local, easily-reversible choice?
├─ YES → Tier 1 (Inline comment)
└─ NO
   └─ Does this affect multiple files or modules?
      ├─ YES → Is this architecturally significant or hard to reverse?
      │        ├─ YES → Tier 3 (Full ADR)
      │        └─ NO → Tier 2 (Brief ADR in DECISIONS.md)
      └─ NO → Tier 1 (Inline comment)

Step 3: Document Before Implementing

Write the decision documentation *before* writing the implementation code. This:

  • Forces clear thinking about the choice
  • Prevents "I'll document later" (you won't)
  • Creates natural review point

Step 4: Link Implementation to Decision

After documenting, reference the decision in code:

// See decision ticket for state management decision
import { useStore } from './store';
# VPN architecture decision: see decision ticket for VPN confinement
services.qbittorrent = { ... };

During Code Review

Reviewers verify decision documentation:

Checklist:

  • New technology/dependency? ADR exists?
  • Architectural pattern choice? ADR exists?
  • Non-obvious approach? Comment explains why?
  • Breaking convention? Justification documented?
  • Trade-off made? Both sides documented?

Review Response Template:

Missing decision documentation:
- Line 45: Why PostgreSQL instead of existing MongoDB?
  → Needs ADR or brief explanation
- Line 123: Why custom retry logic vs axios-retry?
  → Needs inline comment with rationale

Periodic Audit

Monthly, review recent changes for undocumented decisions:

# Find files changed in last 30 days
git log --since="30 days ago" --name-only --oneline

# Cross-reference with decision tickets
tk list --tag decision

# Look for decision keywords without documentation
grep -r "instead of\|rather than\|chosen\|decided" src/

Integration Points

With create-plan Skill

When creating plans, include decision references:

## Related Decisions
This plan implements decisions from:
- ADR: Zustand for State Management (decision ticket)
- ADR: API Design Conventions (decision ticket)

With review-changes Skill

Code review checks for missing documentation:

### Decision Documentation Check
- ✅ New dependency (lodash) documented in DECISIONS.md
- ❌ Custom caching strategy undocumented (needs ADR)
- ✅ Inline comment explains retry logic choice

With update-docs Skill

Decision tickets are immutable - never update content, only status. If a decision changes, create a new ticket that supersedes the old one.

Oracle preservation note: Decision rationale is in the highest protection tier. Never delete or modify accepted decision tickets.

Verification Checklist

Pre-Implementation

  • Identified decisions requiring documentation
  • Determined appropriate tier for each decision
  • Checked for existing related ADRs
  • Documented decisions before coding

Post-Implementation

  • All technology choices documented
  • All architectural decisions have ADRs
  • Inline comments explain non-obvious choices
  • Code references relevant ADRs
  • Decision tickets created for new decisions
  • No "TODO: document why" comments remain

ADR Quality Check

For each ADR:

  • Context clearly explains the problem
  • Multiple alternatives were genuinely considered
  • Decision drivers are explicit
  • Rationale connects drivers to choice
  • Consequences include negatives (not just benefits)
  • Status is current
  • Related decisions are linked

Anti-Patterns

Documentation Anti-Patterns

Too Vague:

# This is the best approach

*Fix: Explain WHY it's best and compared to WHAT*

Missing Alternatives:

## Decision: Use React
Because it's good for our use case.

*Fix: List what else was considered and why rejected*

Pure Description:

# This function sorts the array

*Fix: Explain why this sorting approach over alternatives*

Retroactive Rationalization: Writing ADRs after the fact to justify decisions already made without genuine consideration. *Fix: Document during decision-making, not after*

Process Anti-Patterns

"I'll Document Later" - You won't. Document before implementing.

Over-Documentation - Not every variable name needs an ADR. Use the tier system.

Under-Documentation - "It's obvious" - it's not, especially in 6 months.

ADR Graveyards - Decisions documented but never referenced. Link from code.

When NOT to Document

Not everything needs formal documentation:

  • Trivial choices - Variable names, exact indentation
  • Framework conventions - Following React patterns in a React app
  • Language idioms - Using Python list comprehension
  • Already documented - Choice already covered by existing ADR
  • Temporary code - Spike/prototype code (but note it's temporary)

Heuristic: If reverting this decision would take <5 minutes and affect <10 lines, inline comment is sufficient. If you're unsure, err on the side of documenting.

Quick Reference Card

┌─────────────────────────────────────────────────────────────────┐
│                    THE ARCHIVIST QUICK REFERENCE                │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  BEFORE WRITING CODE, ASK:                                      │
│  • Would another engineer question this choice?                 │
│  • Are there reasonable alternatives?                           │
│  • Will forgetting this cause problems?                         │
│                                                                 │
│  DOCUMENTATION TIERS:                                           │
│  ┌─────────┬──────────────────┬─────────────────────────────┐  │
│  │ Tier 1  │ Inline comment   │ Local, reversible choices   │  │
│  │ Tier 2  │ DECISIONS.md     │ Multi-file, moderate impact │  │
│  │ Tier 3  │ Full ADR         │ Architectural, hard to undo │  │
│  └─────────┴──────────────────┴─────────────────────────────┘  │
│                                                                 │
│  MINIMUM VIABLE DECISION COMMENT:                               │
│  # Uses [X] because [reason] (vs [Y]: [why not])                │
│                                                                 │
│  MINIMUM VIABLE ADR ENTRY:                                      │
│  ## [NNNN] Title                                                │
│  **Date**: | **Status**: Accepted                               │
│  **Decision**: [What]                                           │
│  **Rationale**: [Why]                                           │
│  **Alternatives Rejected**: [What wasn't chosen]                │
│                                                                 │
│  DOCUMENT BEFORE IMPLEMENTING - NOT AFTER                       │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Example Session

Scenario: Implementing a background job processor

Step 1: Detection "I need to choose between Bull, Agenda, and custom implementation for job queues."

Step 2: Assessment

  • Affects multiple files? Yes (worker, scheduler, job definitions)
  • Architecturally significant? Yes (core infrastructure)
  • Hard to reverse? Yes (jobs, queues, Redis dependency)

Result: Tier 3 - Full ADR required

Step 3: Document Create a decision ticket: ADR: Job queue implementation with full template content.

Step 4: Implement Write code, referencing the ADR:

// Job queue implementation: see decision ticket
import Queue from 'bull';

Step 5: Review Reviewer checks:

  • Decision ticket exists and is complete
  • Alternatives genuinely considered
  • Trade-offs documented
  • Code references ADR

The decision is preserved. Future engineers will know *why*.

平台分布

Codex

36.32%
按下载量换算74

Claude

31.18%
按下载量换算64

Cursor

20.03%
按下载量换算41

Gemini CLI

10.02%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills