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

context-pack上下文包

Agent Skill

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

总安装

196

周安装

8

GitHub Stars

9

下载量

63
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/epismoai/skills --skill context-pack

简介

context-pack 通过 Epismo 上下文包实现知识持久化,支持跨工具切换和团队协作交接。

  • 以主题为单位组织知识块,鼓励渐进式完善而非碎片化存储。
  • 统一 CLI 与 MCP 接口连接到同一 Epismo 服务,避免双通道冲突。
  • 安装前建议确认 API 密钥配置和网络访问权限。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Context Pack

Store and retrieve context through Epismo context packs — so knowledge survives tool switches, session ends, and team handoffs.

The unit of organization is a block inside a pack. The goal is one well-structured pack per topic, grown over time by adding and refining blocks — not many small packs.

For Epismo connection setup, CLI/MCP surface conventions, scope model, share URL resolution, and error handling, see Epismo Basics.
Surface selection: CLI and MCP connect to the same Epismo service. Use CLI if available; fall back to MCP if not. Never use both in the same session.

Commands

CommandNatural language triggers
packpack this, save this, summarize sessionPACK
newnew pack, start fresh, hand off a task, share project statusNEW
publish [<id>]publish this, make this public, publish a guide, share with communityPUBLISH
`get <id\alias>`get this ID, load this ID, restore from ID, read alias, open aliasGET
find <query>what context do I have, load my context, searchFIND
`update [<id\alias>]`edit this pack, update my last packUPDATE
organizereorganize blocks, split this, clean upORGANIZE
unclear intentAsk once

Operations (context packs)

OperationCLIMCP
search packepismo pack search --type context [--query <keywords>] [--filter '{...}']epismo_pack_search
get packepismo pack get --id <id> [--full] [--block-id <id>]epismo pack get --alias <alias>epismo_pack_get
create packepismo pack create --input '<json>'epismo_pack_create
update packepismo pack update --id <id> --input '<json>'epismo_pack_update
delete packepismo pack delete --id <id>epismo_pack_delete
like packepismo pack like --id <id> --likedepismo_pack_like
upsert aliasepismo alias upsert --type context --id <id> --alias <name>
get aliasepismo alias get --alias <name>
list aliasesepismo alias list --type context
delete aliasepismo alias delete --alias <name>

PACK

Goal: save current context as a block inside the right pack. Find an existing pack and add or refine a block; create a new pack only when nothing relevant exists.

Step 1 — Find the right pack

Infer 2–4 topic keywords from the current session. Search private packs (titles only — one fast call).

search packtype: context, query: <inferred topic>, filter: {visibility: ["private"]}

ResultAction
One clear matchFetch it → add or update a block → upsert
Multiple candidatesShow titles and IDs → ask user to pick
No matchProceed as NEW

Step 2 — Identify the right block

get pack — fetch the pack and read its existing blocks. Decide:

  • Update an existing block — if the new content belongs to a block that already exists (e.g., decisions, next steps), integrate it there. Rewrite the block so it reads as a coherent whole, not as an append.
  • Add a new block — if the new content is a distinct topic not covered by any existing block.

The pack should read well from scratch at any point. Do not leave stale or contradicted information in place.

Step 3 — Update and return

update pack:

{
  "id": "<existing-id>",
  "content": "<top-level summary or intro — does not include block content>",
  "blocks": [
    { "op": "update", "id": "<existing-block-id>", "title": "<block-title>", "content": "<updated block content>" },
    { "op": "add", "title": "<new-block-title>", "content": "<new block content>" }
  ]
}
  • Omitted fields are left unchanged. Omitting "blocks" means no block changes.
  • "op": "update" updates an existing block by ID. "op": "add" adds a new block. "op": "remove" deletes a block by ID (only "id" needed).
  • "content" at the top level is a brief intro or summary. Block content lives in "blocks[]", not in the top-level "content".
context  <context-id>  <context-title>
block    <block-id>    <block-title>

NEW

Goal: create a fresh pack with an initial block structure. Use when no relevant pack exists, or when the content is clearly a separate topic.

Step 1 — Design the block structure

Before writing, decide how the content divides into blocks. Each block should be focused enough to update independently and broad enough to stay relevant over time.

Design for selective fetch. Because blocks can be loaded individually with --block-id, a well-split pack lets future sessions load only what they need without pulling the whole pack. Aim for blocks where any one block answers a distinct question on its own.

Use caseStarting blocks
Session / tool handoffContext, Decisions, Next Steps
Source summary (YouTube, blog, paper)Source, Summary, Key Takeaways, Reuse Notes
Project memory / working contextPurpose, Constraints, Decisions, References
Prompt or instruction packWhen To Use This, Inputs, Instructions, Output Expectations
Project statusSummary, Progress, Blockers
Team rules or planPurpose, Rules, Plan
Task handoffCurrent State, What Remains, Context for Recipient

Good block boundaries: topic changes, audience changes, or update frequency changes (e.g., "Decisions" is stable; "Next Steps" changes every session — keep them separate).

For templates, see Content Templates.

Step 2 — Write

Content rules:

  • Each block is self-contained — no "see above" references
  • Prefer scannable structure: bullets, short paragraphs, and small tables only when they help
  • Include IDs, URLs, and precise names so the reader can act without searching
  • Title: infer from session topic. Do not ask unless genuinely ambiguous.

Step 3 — Publish

Default private. Use PUBLISH to go public.

create pack:

{
  "title": "<title>",
  "content": "<top-level summary or intro>",
  "type": "context",
  "visibility": "private",
  "blocks": [
    { "title": "<block-title>", "content": "<block content>" },
    { "title": "<block-title>", "content": "<block content>" }
  ]
}
  • Blocks are passed as a separate "blocks[]" array — not embedded in the top-level "content" string.
  • "content" at the top level is a brief intro only. All substantive content belongs in blocks.
Who needs itvisibilityAccess target
Just me"private"omit targets
My team"private"targets.projectIds=["pj_xxx"]
context  <context-id>  <context-title>
block    <block-id>    <block-title>

PUBLISH

Goal: make a pack publicly discoverable. Always requires explicit user confirmation before writing.

Two paths:

SituationPath
Existing private pack worth sharingPromote — change visibility to public
New content written for a broad audienceCreate new public pack

Promote: private → public

  1. get pack — fetch the pack. Run the Public Review Gate. Flag issues before proceeding.
  2. Confirm with user: "Publish '{title}' ({id}) as public under category {category}?"
  3. update pack:
{
  "id": "<id>",
  "visibility": "public",
  "category": "<category>"
}

Create new public

Write for an external reader using the public guide template in Content Templates. Content must be self-contained and pass the Public Review Gate.

Choose category carefully — it determines how people find this pack. See Category Reference.

Confirm with user, then create pack:

{
  "title": "<title>",
  "content": "<content>",
  "type": "context",
  "visibility": "public",
  "category": "<category>"
}

Return ID, title, and share URL. For share URL resolution, see Epismo Basics — Resolving Share URLs.

context  <context-id>  <context-title>
share    https://epismo.ai/hub/contexts/<id>

GET

Goal: fetch a pack by ID, alias, or explicit read/open target.

Route intent before resolving

Prefer alias-first unless the input is obviously a search query.

Input patternRouteWhy
get..., use..., load..., open..., read..., restore...GETExplicit retrieval
find..., search..., what context do I have, show my packsFINDExplicit discovery
Bare UUIDGETIDs are unambiguous
Short ambiguous phraseGETTry alias first, then search if it misses
Obvious search query, question, or long descriptive phraseFINDDiscovery intent is clearer than alias intent

Resolve the input

  1. UUID → get pack --id.
  2. @handle/name or one compact token like weekly-handoffget pack --alias; if it misses, run FIND with the same text.
  3. Short phrase like auth refactor handoff → try get pack --alias first; if it misses, run FIND.
  4. Question, explicit search wording, or long descriptive text → FIND first.
  5. get/read/open/use <target> always counts as retrieval intent.

get pack — by id, or by alias. Default returns outline only; pass --full for all blocks, or --block-id to load a single block.

Read the most relevant block first. Continue from there without re-reading history.


FIND

Goal: discover the right pack when the ID is not known.

search pack — scan titles only (no full content). Use this for natural-language discovery requests and multi-keyword topic phrases. Search in this order:

  1. type: context, query: <topic>, filter: {visibility: ["private"]}
  2. type: context, query: <topic>, filter: {like: "liked"}
  3. type: context, query: <topic>, filter: {visibility: ["public"]}

Present the title list; if the match is clear, get pack immediately.

For filter keys and search recipes, see Search & Discovery.


UPDATE

Goal: edit an existing pack directly.

ID or alias known

Always fetch before writing.

get pack → inspect current blocks → update pack with id and block operations using op fields.

For update <alias> based on this conversation:

  • merge new context into the right existing blocks
  • rewrite blocks coherently instead of appending raw notes
  • add a new block only for a distinct new topic

ID unknown

  1. search packtype: context, query: <inferred topic>, filter: {visibility: ["private"]}
  2. One clear match → fetch and update without asking.
  3. Multiple candidates → show titles and IDs, ask the user to pick.
  4. No match → fall back to NEW.

"Last pack" shortcut: search private context packs and take the first result from the default recent-first outline.


ORGANIZE

Goal: improve the block structure of an existing pack.

The most common need is not managing many packs — it's making the blocks inside one pack cleaner and more useful.

Actions

SituationAction
A block has grown too large or covers multiple topicsSplit — divide into two focused blocks, rewrite each
Two blocks overlap or one has become redundantMerge — combine into one coherent block, remove the other
A block is no longer relevantRemove — delete the block from the pack
The whole pack is no longer neededDelete — delete the pack (needs approval)

All changes are applied via update pack using op fields. Use "op": "add" for new blocks, "op": "update" for existing ones, "op": "remove" to delete a block by ID. delete pack requires explicit user approval.


Write Safety

  1. Default privatepack, new, and update always write private. Use PUBLISH to go public.
  2. No silent writes — if scope is unclear, ask once before writing.
  3. Approval required — public publication, deletion, and overwriting another owner's pack require explicit user confirmation before writing.

For the full approval matrix, see Visibility & Sharing — Approval Boundary.


Operation Output

After every operation, return in this order:

  1. Context and block — always return both ID and title at each level that was affected
  2. What changed — one sentence
  3. Next action — single most useful next step (omit if none)
context  <context-id>  <context-title>
block    <block-id>    <block-title>    # when a specific block was created or updated

Skip analysis and evidence unless the user asked for it.

Source of Truth

Repository: https://github.com/epismoai/skills

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.01%
按下载量换算21

Claude

31.47%
按下载量换算20

Cursor

18.85%
按下载量换算12

Gemini CLI

9.17%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

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

安装前确认

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

来源信息

继续浏览同类 Skills