π¦ ClawHub
text-scan
by @indigas
Quickly find and score relevant lines with context in large text files using keyword and phrase matching to minimize reading entire files.
β‘ When to Use
π‘ Examples
# Find the runway in STATE.md
python3 /scripts/text-scan.py /home/marek/.openclaw/workspace/STATE.md --query "runway"Find today's work hours
python3 /scripts/text-scan.py /home/marek/.openclaw/workspace/STATE.md --query "today work hours"Find all log entries about a topic
python3 /scripts/text-scan.py /home/marek/.openclaw/workspace/LOG.md --query "weather"
π Tips & Best Practices
--brief flag is fastest for quick scans--json output is useful for scripting/automationfind to scan multiple files: find . -name "*.md" | xargs ...TERMINAL
clawhub install text-scan