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

- **Type:** Skill
- **Install:** `agentstack add skill-codingagentsystem-cas-cas-search`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [codingagentsystem](https://agentstack.voostack.com/s/codingagentsystem)
- **Installs:** 0
- **Category:** [Search](https://agentstack.voostack.com/c/search)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [codingagentsystem](https://github.com/codingagentsystem)
- **Source:** https://github.com/codingagentsystem/cas/tree/main/.claude/skills/cas-search
- **Website:** https://codingagentsystem.com

## Install

```sh
agentstack add skill-codingagentsystem-cas-cas-search
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

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

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [codingagentsystem](https://github.com/codingagentsystem)
- **Source:** [codingagentsystem/cas](https://github.com/codingagentsystem/cas)
- **License:** MIT
- **Homepage:** https://codingagentsystem.com

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-codingagentsystem-cas-cas-search
- Seller: https://agentstack.voostack.com/s/codingagentsystem
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
