cas-search

在 CAS 内容(记忆、任务、规则、技能、代码)中进行搜索。用于查找信息、理解代码库或定位特定模式,支持混合 BM25+语义搜索、代码符号搜索、grep、上下文和实体操作。

仓库最近推送
GitHub Stars
185
Forks
20
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "cas-search":https://skillpi.com/zh/skills/deepskill-a2a5b76af80cc6921b096cce1c14838e4fdbfb249cc05f42e644442840a10252。安装前核对上游来源和版本:https://github.com/codingagentsystem/cas。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

在 CAS 内容(记忆、任务、规则、技能、代码)中进行搜索。用于查找信息、理解代码库或定位特定模式,支持混合 BM25+语义搜索、代码符号搜索、grep、上下文和实体操作。

0 下载

介绍来源: third_party · codingagentsystem · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: cas-search
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.
managed_by: cas

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 memories
  • context_for_subagent — Task-focused context for spawning subagents (pass task_id and max_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 ID
  • blame — Git blame with optional AI-line filtering (file_path, line_start, line_end)

版本历史

  1. v1.0 GitHub ↗
    原版更新说明

    - Bump version to 1.0.0 - Remove .env.example in favor of .env.worktree.template - Sync .claude rules/skills after cas update and add MCP config - Fix unused Content import warning when mcp-proxy feature is disabled - Fix m165 migration crash when verifications table doesn't exist - Remove duplicate install.sh and trim Quick Start - Add factory TUI screenshot to README header - Fix release workflow: move secret check from job-level if to step script - CI: use default features only, add homebrew conditional - Fix release workflow: use GITHUB_TOKEN, add homebrew auto-update

  2. v0.6.3 GitHub ↗
    原版更新说明

    ## What's Changed ### Added - Rich content (images) support in MCP execute responses - Event-based triggers for factory reminder system ### Changed - Use execute() instead of execute_rich() after upstream API merge - Improved factory reminder storage **Full Changelog**: https://github.com/codingagentsystem/cas-internal/compare/v0.6.2...v0.6.3

  3. v0.6.2 GitHub ↗
    原版更新说明

    ## What's Changed ### Added - Interactive terminal dialog (Ctrl+T) in factory TUI with show/hide/kill - MCP proxy catalog caching for SessionStart context injection - Billing interval switching buttons (monthly/yearly) with savings display - Resume subscription button on cancellation notice - `cas changelog` command to show release notes ### Changed - Cloud sync on MCP startup runs in background with 5s timeout (non-blocking) - Heartbeat uses shorter 5s timeout and spawn_blocking to avoid stalling async loop - Refactored cloud routes for cleaner URL structure ### Fixed - Debounced Ctrl+C interrupt to prevent accidental double-sends - Update version check now compares versions properly - Stripe portal return URL redirects back to billing page - Removed duplicate type export in types/index.ts **Full Changelog**: https://github.com/codingagentsystem/cas-internal/compare/v0.6.1...v0.6.2

  4. v0.6.1 GitHub ↗
    原版更新说明

    - Remove SLA reminders, bump to v0.6.1 - Add install script endpoint with download analytics - Fix duplicate migration timestamp 20260223120000 - Update Postgres mount for PG18 data directory layout - Fix WAL-G download URL for ARM64 in Postgres Dockerfile

  5. v0.6.0 GitHub ↗
    原版更新说明

    ## What's New - Persistent memory, tasks, rules, and skills across sessions - Factory mode for multi-agent orchestration - Code-mode-mcp proxy integration - Trial billing and plan management - Install analytics tracking ## Install ```bash curl -fsSL https://cas.dev/install.sh | sh ``` ## Platforms - macOS ARM64 (Apple Silicon) - Linux x86_64

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供多种搜索方式(BM25+语义、代码符号、grep、上下文等),覆盖信息查找、代码理解、模式定位等高频刚需场景
  • 适用于开发者、知识工作者、项目管理者等多种角色,具有广泛实用价值
触发精准90/100

亮点

  • description 完整描述了适用场景,提供了多种具体使用场景和对应的 action 选择指南
  • 决策表格清晰区分不同需求对应的 action,覆盖合理,边界清晰
结构规范85/100

待提升项

  • 缺少明确的 When to Use 章节 原报告严重程度:轻微

    文档结构良好,但缺少独立的 When to Use 章节来明确使用时机

    改进建议:建议添加独立的 When to Use 章节,更清晰地说明何时使用此 Skill

亮点

  • Phase/步骤清晰,有明确的 Action 选择指南和决策表格
  • 包含端到端示例,每个 action 都有具体调用示例
  • frontmatter 完整,单文件长度符合规范
执行可靠88/100

亮点

  • 工具来源明确,参数说明完整,覆盖主要异常场景
  • 提供了不同场景下的最佳实践建议,不可逆操作有确认机制
证据可验 (前四项均值)87/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。