Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计提醒

contextcontext 搜索

Agent Skill

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

总安装

651

周安装

8

GitHub Stars

1

下载量

65
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/robdtaylor/personal-ai-infrastructure --skill Context

简介

用于在 Obsidian 知识库中检索笔记、标签和语义相关内容。

  • 适合快速定位项目上下文、加载最近修改记录或管理 Telegram 捕获内容。
  • 可通过关键词、标签或语义相似度进行搜索,提升信息获取效率。
  • 使用前需确保已配置 obs CLI 并拥有对应笔记库的访问权限。
  • 注意该技能可能读取本地文件或调用外部命令,请评估安全风险后再启用。

SKILL.md

Context Management Skill

Purpose: Seamless integration between your Obsidian knowledge base and Claude Code sessions. Find relevant notes, load project context, and manage captures from Telegram.

Quick Reference

obs CLI Commands

# Search
obs search "query"              # Full-text search
obs search --tag "project/pai"  # Tag-based search
obs semantic "concept"          # Semantic similarity search

# Read/Write
obs read "Note Title"           # Read a specific note
obs write "Title" --tag inbox   # Create a new note

# Browse
obs tags                        # List all tags
obs tags --counts               # Tags with usage counts
obs recent                      # Recently modified notes
obs incoming                    # Unprocessed inbox items

# Context
obs context project-name        # Load project context

# Embeddings
obs embed                       # Build/update embeddings
obs stats                       # Embedding statistics

ingest CLI Commands

# Telegram capture
ingest poll                     # Fetch new messages
ingest process                  # Process pending → notes
ingest status                   # View message states

# Maintenance
ingest retry                    # Retry failed messages
ingest clear                    # Clear all (testing)

Workflows

1. load-context.md

Purpose: Load project-specific context into current session Trigger: "load context for X", "get project context", "what do I know about X"

2. search-notes.md

Purpose: Search personal notes using text, tags, or semantic similarity Trigger: "search my notes for", "find notes about", "semantic search"

3. process-incoming.md

Purpose: Review and process captured content from Telegram Trigger: "check incoming", "process captures", "what's in my inbox"

4. capture-content.md

Purpose: Capture new content to Obsidian via direct write Trigger: "save this to obsidian", "capture this", "add to my notes"

Routing Logic

User Intent → Workflow Selection

"Load context for PAI project"     → load-context.md
"Search notes about embeddings"    → search-notes.md
"What's in my inbox?"              → process-incoming.md
"Save this to my notes"            → capture-content.md

Integration with Claude Code

This skill enables context-aware coding sessions:

  1. Start of session: Load relevant project context
  2. During coding: Search notes for reference material
  3. After research: Capture findings to Obsidian
  4. End of session: Auto-saved via hooks

Example Session Flow

User: "Load context for the API redesign project"
→ obs context api-redesign
→ Returns: Related notes, decisions, meeting notes

User: "What did we decide about authentication?"
→ obs semantic "authentication decision"
→ Returns: Relevant note excerpts

User: "Save this architecture decision to my notes"
→ obs write "API Auth Decision" --tag "project/api" --tag "decision"
→ Creates note in vault

Vault Structure

Expected Obsidian vault organization:

~/Documents/personal/
├── Inbox/                  # New captures land here
├── Projects/               # Project-specific notes
│   └── project-name/
├── Reference/              # Technical references
├── Archive/                # Completed/old items
└── attachments/            # Images, PDFs, etc.

Tag Conventions

Tag PatternPurpose
project/<name>Project association
incomingUnprocessed captures
decisionArchitectural decisions
meetingMeeting notes
referenceReference material
todoAction items

Configuration

Environment variables (in ~/.claude/.env):

OBSIDIAN_VAULT_PATH=~/Documents/personal
OPENAI_API_KEY=sk-...  # For embeddings & vision

State databases:

  • Embeddings: ~/.claude/embeddings.db
  • Ingest state: ~/.claude/ingest-state.db

Troubleshooting

Semantic search not working

obs stats  # Check if embeddings exist
obs embed  # Rebuild embeddings

Telegram captures not appearing

ingest test    # Verify bot connection
ingest poll    # Fetch new messages
ingest status  # Check message states

Note not found

obs tags --counts  # See what tags exist
obs recent         # Check recent files

Related Skills

  • research - Multi-source web research
  • fabric - Pattern-based content processing

References

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

27.45%
按下载量换算18

Cursor

25%
按下载量换算16

OpenCode

19.51%
按下载量换算13

Gemini CLI

12.12%
按下载量换算8

windsurf

7.19%
按下载量换算5

Codex

3.75%
按下载量换算2

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills