cas-search
Search across CAS content (memories, tasks, rules, skills, code). Use when needing to find information, understand codebase, or locate specific patterns. Supports hybrid BM25+semantic search, code symbol search, grep, context, and entity operations.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- cas-search
- managed_by
- cas
- description
- Search across CAS content (memories, tasks, rules, skills, code). Use when needing to find information, understand codebase, or locate specific patterns. Supports hybrid BM25+semantic search, code symbol search, grep, context, and entity operations.
03 SKILL.md 正文
CAS Search
Use mcp__cas__search to find information across CAS content and code. Choose the right action for the job:
Which Action to Use
search — Conceptual queries across memories, tasks, rules, skills:
mcp__cas__search action=search query="authentication flow" doc_type=entry
Filter with doc_type (entry, task, rule, skill, code_symbol, code_file) for better relevance.
code_search — Find code symbols by what they do, not exact names:
mcp__cas__search action=code_search query="user authentication" kind=function language=rust
Use include_source=true to get source code inline.
grep — Exact regex pattern matching in files:
mcp__cas__search action=grep pattern="TODO:" glob="*.rs"
Prefer the built-in Grep tool for simple patterns where you already know file paths.
Decision Guide
| Need | Action |
|---|---|
| "How does X work?" | search or code_search |
| Find exact string or regex | grep |
| Find past learnings | search with doc_type=entry |
| Find function by concept | code_search |
| Find related tasks | search with doc_type=task |
Other Actions
context— Session context summary: recent activity, active tasks, relevant memoriescontext_for_subagent— Task-focused context for spawning subagents (passtask_idandmax_tokens)observe— Record discoveries/decisions during work (observation_type: general, decision, bugfix, feature, refactor, discovery)entity_list/entity_show— Browse extracted entities (person, project, technology, etc.)code_show— Full details for a specific code symbol by IDblame— Git blame with optional AI-line filtering (file_path,line_start,line_end)
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.