Install
openclaw skills install @jlacroix82/smart-filesSecure file search, dedup, organize, and rename for workspace files.
openclaw skills install @jlacroix82/smart-files**NOTE: Search mode reads file contents. Content snippets are hidden by default; use
--snippetsto show them.
Before: watchDirectory() ignored --force, checked process.argv directly After: --force is properly passed as fourth parameter to watchDirectory()
Content snippets are hidden by default — only paths and match scores shown. Add --snippets to show matched content. --quiet is retained for backward compatibility (same effect as default).
clawhub.yaml and SKILL.md now both properly describe watch mode and journaling features, and declare explicit permissions. Tests remain in the repo under test/ (excluded from the published bundle via .gitignore/clawhub.yaml packaging).
clawhub.yaml and SKILL.md now both properly describe watch mode and journaling features.
Prominent warnings about content exposure risk and safe usage patterns.
Clear documentation that watch mode with --force monitors arbitrary filesystem paths.
Clear documentation that watch mode persists file paths, hashes, and timestamps to memory/smart-files-journal.json.
# Privacy-safe: only paths shown (default behavior)
node smart-files.js --search "query"
# Show matched content snippets
node smart-files.js --search "query" --snippets
# Watch workspace (safe, default behavior)
node smart-files.js --watch ./src 30
# Watch external path (use with caution)
node smart-files.js --watch /path --force
| Feature | Default | Override |
|---|---|---|
| Binary files | Skipped | Cannot override |
| File size limit | 10MB | Cannot override |
| Search results cap | 20 | Cannot override |
| Workspace boundary | Enforced | --force |
| Watch mode scope | Workspace | --force |
| Rename mode | Dry run | --force |
| Content snippets | Hidden (opt-in) | --snippets |