openclaw/workspace-policy/skills/eligibility-checker/SKILL.md
# eligibility-checker Skill This skill checks a citizen's eligibility for specific government schemes based on provided personal data. ## Activation The skill can be invoked manually or integrated into a workflow after intent classification (e.g., when the intent is `ELIGIBILITY_CHECK`). ## Command-line interface ``` python check_eligibility.py --scheme <SCHEME_NAME> --age <AGE> --income <INCOME> --land <LAND_AREA> --state <STATE> ``` - `--scheme` – Name of the government scheme (e.g., "PM
npx skillsauth add aggarwalgauri05/citizenclaw openclaw/workspace-policy/skills/eligibility-checkerInstall 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 checks a citizen's eligibility for specific government schemes based on provided personal data.
The skill can be invoked manually or integrated into a workflow after intent classification (e.g., when the intent is ELIGIBILITY_CHECK).
python check_eligibility.py --scheme <SCHEME_NAME> --age <AGE> --income <INCOME> --land <LAND_AREA> --state <STATE>
--scheme – Name of the government scheme (e.g., "PM-KISAN", "PMJAY", "MGNREGA", "PM Awas Yojana").--age – Citizen's age in years (integer).--income – Annual income in Indian rupees (numeric, e.g., 450000 for ₹4.5 Lakh).--land – Land ownership indicator (boolean: yes/no or numeric area in acres). For simplicity, any non‑zero value is treated as owning land.--state – Indian state name (used for potential state‑specific extensions; currently not used in hard‑coded rules).| Scheme | Eligibility conditions | |--------|--------------------------| | PM‑KISAN | Must be a farmer who owns land (land > 0) and is not an income‑tax payer (income ≤ 0). | | PMJAY (Pradhan Mantri Jan Arogya Yojana) | Annual income below ₹5 lakhs and not covered by other insurance (income‑tax payer flag not considered here). | | MGNREGA (Mahila Gram Nyayik Rojgar Abhiyan) | Must belong to a rural household (state may be used to infer rural/urban later) and have at least one adult member (age ≥ 18). | | PM Awas Yojana | Does not own a pucca house (land flag used as proxy) and annual income below ₹6 lakhs. |
If a scheme name is not recognized, the script will report that it cannot evaluate the request.
[ELIGIBLE] or [NOT_ELIGIBLE] with a brief reason.[ACTION: eligibility check run for <scheme>].~/.openclaw/workspaces/default/reports/<scheme>_report.txt
containing the same information.python check_eligibility.py --scheme PMJAY --age 30 --income 450000 --land 0 --state Rajasthan
Outputs:
[ELIGIBLE] Eligible for PMJAY: income below 5 Lakhs.
[ACTION: eligibility check run for PMJAY]
and writes the same to the report file.
Note: This skill only contains the contract and documentation. The actual implementation lives in check_eligibility.py.
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
# 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: