opendcai/dataflow-webui/prompted-filter
Claude Code and agent skill by opendcai/dataflow-webui
- community
Checking that the SKILL.md file is still in the repository.
Reference documentation for the PromptedFilter operator. Covers the constructor, actual scoring and filtering behavior, and pipeline usage notes. Use when: filtering rows based on LLM semantic quality judgment rather than simple rule-based conditions.
Install
npx vskill@latest install opendcai/dataflow-webui/prompted-filterSKILL.md
PromptedFilter Operator Reference
PromptedFilter internally uses PromptedEvaluator to score each row of text, writes the score into output_key, and keeps only rows with scores in [min_score, max_score].
1. Import
2. Constructor
| Parameter | Required | Default | Description | |
|---|---|---|---|---|
llm_serving | Yes | None | LLM service object implementing generate_from_input(...). Internally passed to PromptedEvaluator. | |
system_prompt | No | "Please evaluate the quality of this data on a scale from 1 to 5." | Defines the LLM's scoring criteria. The scale described should align with min_score/max_score. | |
min_score | No | 1 | Lower bound of the score range to keep (inclusive). | |
max_score | No | 5 | Upper bound of the score range to keep (inclusive). |
Important Constructor Notes
- The operator creates an internal
PromptedEvaluator(llm_serving, system_prompt)instance. - Source code comment at line 35 incorrectly states
min_scoredefault is5; actual default is1. - Source code comment at line 36 incorrectly states
max_scoredefault is5; actual default is5(correct).
3. run() Signature
| Parameter | Required | Default | Description | |
|---|---|---|---|---|
storage | Yes | None | DataFlowStorage step object. The operator reads a DataFrame from here and writes the filtered DataFrame back. | |
input_key | No | "raw_content" | Text column to evaluate. This column must already exist. | |
output_key | No | "eval" | Column to write LLM scores into. Silently overwrites if already exists. |
Return Value
Returns output_key string. Pipeline forward() methods should not return values.
4. Actual Runtime Logic
The source code behavior is:
- Read the DataFrame from
storage.read("dataframe"). - Call
self.prompted_evaluator.eval(dataframe, input_key)to get a list of numeric scores. - Write the scores into
dataframe[output_key]. - Filter the DataFrame: keep only rows where
dataframe[output_key] >= self.min_scoreANDdataframe[output_key] <= self.max_score. - Write the filtered DataFrame back via
storage.write(filtered_dataframe). - Return
output_key.
Key Behavior Notes
- The
input_keycolumn must exist in the current DataFrame. - Rows with scores outside
[min_score, max_score]are permanently deleted. - The output DataFrame retains both the
output_keyscore column and all original columns. - If
output_keyalready exists, it is silently overwritten.
5. Pipeline Usage Pattern
Note: forward() has no return value, following the standard pipeline pattern.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/canonical/core_text/filter/prompted-filter/SKILL.md
Popularity
- 7-day trend score
- 0
Refreshed 22 Oct 2026, 8 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/opendcai/dataflow-webui/prompted-filter)