Skip to content
Back to skills

Filter Semantic

ASecurity

Filter a list of items to those matching a natural-language condition (e.g. "only the items that mention X"). NOT YET WIRED in chat-mode — present in src/tools/ for future enablement.

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

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 filter-semantic --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Filter Semantic?

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

Security grade badge for Filter Semantic
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bdambrosio-filter-semantic/badge)](https://www.skillsdirectory.com/skills/bdambrosio-filter-semantic)

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: filter-semantic
description: Filter a list of items to those matching a natural-language condition (e.g. "only the items that mention X"). NOT YET WIRED in chat-mode — present in src/tools/ for future enablement.
args:
  source: required string — items to filter (concrete shape TBD pending wiring)
  predicate: required string — natural-language condition, e.g. "mentions safety AND published after 2024"
  mode: optional string (default "include") — "include" returns matches, "exclude" returns non-matches
---

# filter-semantic

Apply a natural-language predicate to each item in a list and return the items that match (or, with `mode: "exclude"`, the items that don't).

**Status:** the tool exists in `src/tools/` but is not yet exposed via the chat ReAct catalog. The list-shape input convention hasn't been settled (chat ReAct passes strings as `$stepN` bindings; the OODA executor passed Collection IDs). When wired, the args contract above will be revised to match the chosen shape.

## Predicate guidance

- Semantic: `"has a positive tone"`, `"contains code or implementation details"`
- Boolean: `"mentions safety AND published after 2024"`
- Numeric / date: `"price under $50"`, `"earlier than 2020"`

Phrase predicates to describe what to **match**. Use `mode: "exclude"` instead of writing negative predicates ("does NOT contain X").

## Why this is different from `assess`

- `assess` operates on **one** text, returns one bool.
- `filter-semantic` operates on **many** texts, returns the subset that match.

One tool call vs N tool calls for the same job.

Files in this skill

  • Skill.md1.6 KB
  • tool.py6.7 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.