openclaw/workspace-policy/skills/pdf-reader/SKILL.md
# 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.
npx skillsauth add aggarwalgauri05/citizenclaw openclaw/workspace-policy/skills/pdf-readerInstall 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 provides secure access to reading PDF documents from an approved directory.
~/.openclaw/workspaces/default/docs/govt-policies directory.--file <PATH>: Specifies the PDF file to read.--query <TEXT> (optional): A search term to find the most relevant section within the PDF.--list (flag): Lists all PDF files available in the approved directory.Directory Validation: The script checks if the provided file path is within the ~/.../govt-policies/ directory.
[BLOCKED] File outside approved documents directory and exits with an error.[ALLOWED] Reading approved policy document: <filename>.Listing PDFs (--list):
~/.openclaw/workspaces/default/docs/govt-policies/ directory.Reading and Querying (--file + --query):
pymupdf.--query text within the document.[SOURCE] Official document: <filename>.Dependencies: Requires the pymupdf (fitz) Python library to be installed.
To list available PDFs:
python read_pdf.py --list
To read a PDF and search for content:
python read_pdf.py --file <path/to/policy.pdf> --query "your search term"
Replace <path/to/policy.pdf> with the actual path to a PDF within the approved directory and "your search term" with your query.
Note: This SKILL.md only describes the contract for the skill. The actual implementation is in read_pdf.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
# 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:
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