Install any skill in seconds. Free to start, no credit card required.
Get Started Free →FiLens CLI reads, searches, compares and converts local documents and images, with OCR, layout and duplicate detection.
29% 86%+57 ptsof test cases passed
Passed 18 of 21 test cases with the skill, and 6 of 21 without it.
3 of 3 safety checks passed
Not used yet
Use FiLens to obtain local file contents and source evidence, then perform the user's requested reasoning yourself. understand prepares evidence; builds advertising summarize can select original key excerpts without a language model. Translation, paraphrasing and question answering belong to the caller.
Prefer an installed filens. Otherwise use npx --yes filens-cli (includes Chinese/English OCR) or npx --yes filens-cli-lite (OCR optional). In a source checkout, build with npm run build:agent or npm run build:agent:lite and invoke ./dist/filens or ./dist/agent-lite/filens.
Inspect the running build when supported formats or OCR availability matter:
filens capacity --json
Check capacity.operations before using source additions such as search or similar. Check capacity.formats, capacity.conversionPairs, and capacity.ocr.available for document operations; reading support does not imply conversion support, and an advertised OCR route does not prove that OCR is installed. Reading, directory scans and conversion are local; initial npm installation and explicit OCR setup may download dependencies.
For agent use, prefer explicit commands and JSON:
filens understand '/path/meeting notes.docx' --json
filens read '/path/report.pdf' --json
filens layout '/path/invoice.png' --json
Pass one local file per reading/conversion request, one directory or supported archive for search, or one directory for similar. Quote paths with spaces. For generated paths, pass separate process arguments or a JSON request through stdin rather than interpolating a shell command:
{"operation":"understand","input":"/path/report.pdf","format":"json","layout":false,"maxBytes":8388608}
Pipe that object to filens or filens -. Natural-language Chinese/English reading intents are also supported, but do not include semantic questions in the CLI request. There are no page-range or batch-selection flags; handle multiple files with separate requests.
JSON stdout contains one filens-agent-v1 response, including failures. Keep stdout separate from stderr and inspect the exit status:
| Exit | Meaning | Agent action |
|---|---|---|
| 0 | Complete extraction or scan, possibly empty | Use returned evidence or groups. |
| 1 | Host, I/O, runtime, timeout, or cancellation failure | Inspect error; correct the actual cause. |
Next to this one in the catalogue, plus more from the same author.