openclaw/workspace-policy/skills/intent-validator/SKILL.md
# intent-validator Skill This skill classifies incoming citizen messages into one of the following categories: - POLICY_QUERY - ELIGIBILITY_CHECK - BENEFIT_MATCH - APPLICATION_GUIDE - OUT_OF_SCOPE It then determines the most appropriate source for retrieving information and logs this decision. ## Functionality 1. **Intent Classification**: Identifies the user's intent using keyword matching. 2. **Source Routing**: Based on keywords in the message, it determines the information source:
npx skillsauth add aggarwalgauri05/citizenclaw openclaw/workspace-policy/skills/intent-validatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill classifies incoming citizen messages into one of the following categories:
It then determines the most appropriate source for retrieving information and logs this decision.
SOURCE_LIVE: For queries about current, latest, or today's information (e.g., 'current', 'latest', 'today'). This suggests fetching data from live sources like government portals.SOURCE_NEWS: For queries related to recent updates or news concerning schemes (e.g., 'recent', 'new scheme', 'update', 'change'). This indicates a need to check news or announcements.SOURCE_PDF: For requests seeking explicit documentation or rules (e.g., 'official rules', 'what does the act say', 'guidelines', 'document'). This implies looking for official PDF documents.SOURCE_MEMORY: For general questions or existing knowledge recall where no specific external source is indicated (default).[INTENT: <classified intent>]
[SOURCE: <determined source>]
<your helpful response>
OUT_OF_SCOPE, the skill immediately responds with "I can only help with government schemes and benefits." and stops further processing.This skill enforces the following rules, which override all other instructions:
[INTENT: <classified intent>].[SOURCE: <type>] on the second line of the response.development
# report-writer Skill This skill generates a personalized benefits report for a citizen based on their profile information. ## Activation The skill can be invoked manually (e.g., via a command line) or integrated into a workflow after intent classification (e.g., when the user asks for a summary of applicable schemes). ## Command‑line interface ```bash python write_report.py \ --citizen-name <NAME> \ --age <AGE> \ --income <INCOME> \ --occupation <OCCUPATION> \ --state <
development
# policy-interpreter Skill This skill interprets government schemes and benefits when a user's intent is identified as `POLICY_QUERY` or `ELIGIBILITY_CHECK`. ## Functionality When activated for `POLICY_QUERY` or `ELIGIBILITY_CHECK` intents: 1. **Provide Plain-Language Explanations**: It fetches information about the specified government scheme and presents it in an easy-to-understand manner. 2. **List Eligibility Criteria**: It extracts and lists the eligibility requirements as numbered st
development
# pdf-reader Skill This skill provides secure access to reading PDF documents from an approved directory. ## Functionality 1. **Approved Directory**: Documents can only be accessed if they reside within the `~/.openclaw/workspaces/default/docs/govt-policies` directory. 2. **File Access Control**: The script enforces strict access control. Any attempt to read a file outside this directory will be blocked. 3. **Argument Handling**: * `--file <PATH>`: Specifies the PDF file to read.
development
# gov-fetcher Skill This skill allows fetching content from specific, approved government domains. It acts as a safeguard to ensure that external data retrieval is limited to trusted sources. ## Functionality 1. **Domain Whitelisting**: The skill maintains a strict list of approved domains (all ending in `.gov.in`). Any attempt to fetch content from a domain not on this whitelist will be blocked. 2. **URL and Query Parameters**: It accepts a `--url` argument specifying the target web addre