Skip to content
Back to skills

Fs Grep

ASecurity

Search text files under scenarios/<world_name>/fs and return match snippets.

  • 10 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 6, 2026
developmentpython

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 6, 2026

npx -y skills add bdambrosio/Cognitive_workbench --skill fs-grep --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fs Grep?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fs Grep
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bdambrosio-fs-grep/badge)](https://www.skillsdirectory.com/skills/bdambrosio-fs-grep)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fs-grep
type: python
description: "Search text files under scenarios/<world_name>/fs and return match snippets."
schema_hint: {"path": "string (relative)", "pattern": "string", "recursive": "bool", "max_matches": "int", "context": "int", "case_insensitive": "bool"}
---

# fs-grep

Search text files for a regex pattern and return match snippets as Notes.

## Input

- `path`: Relative path under `scenarios/<world_name>/fs` (default: root)
- `pattern`: Regex pattern to search for (required)
- `recursive`: Recurse into subdirectories (default: true)
- `max_matches`: Max matches to return (default: 20)
- `context`: Context lines before/after each match (default: 0)
- `case_insensitive`: Case-insensitive regex (default: false)

## Output

Success returns:
- `resource_id`: Collection ID of match Notes
- Match Notes are text with:
  - metadata Note linked by meta Relation (path/line/pattern/context and file metadata)
  - body text snippet for the match

## Examples

```json
{"type":"fs-grep","path":"src","pattern":"TODO","recursive":true,"out":"$todos"}
{"type":"fs-grep","pattern":"error","context":2,"out":"$errors"}
```

Files in this skill

  • Skill.md1.1 KB
  • tool.py6.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.