cas-search

Search within CAS content (memories, tasks, rules, skills, code). Used to find information, understand codebases, or locate specific patterns; supports hybrid BM25+semantic search, code symbol search, grep, context, and entity operations.

Last repository push
GitHub Stars
185
Forks
20
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "cas-search" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a2a5b76af80cc6921b096cce1c14838e4fdbfb249cc05f42e644442840a10252. Verify the upstream source and version against https://github.com/codingagentsystem/cas before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Search within CAS content (memories, tasks, rules, skills, code). Used to find information, understand codebases, or locate specific patterns; supports hybrid BM25+semantic search, code symbol search, grep, context, and entity operations.

0 Downloads

Introduction source: third_party · codingagentsystem · 0.0.1 Reference

SkillPi interpretation

Tasks
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.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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)

Version history

  1. v1.0 GitHub ↗
    Original release notes

    - 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 ↗
    Original release notes

    ## 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 ↗
    Original release notes

    ## 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 ↗
    Original release notes

    - 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 ↗
    Original release notes

    ## 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

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

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

Highlights

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

Areas to improve

  • 缺少明确的 When to Use 章节 Reported severity: Minor

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

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

Highlights

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

Highlights

  • 工具来源明确,参数说明完整,覆盖主要异常场景
  • 提供了不同场景下的最佳实践建议,不可逆操作有确认机制
Evidence Verifiability (mean of the first four)87/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

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

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.