mymind
Installation
SKILL.md
mymind
Use this skill to run and troubleshoot the local mymind binary.
Verify availability
- Prefer
mymindfrom PATH. - If missing, build from repo root:
go build -o /opt/homebrew/bin/mymind ./cmd/mymind - Confirm:
which mymindmymind -h
Initialize auth
- Run
mymind initinteractively, or:mymind init --cookie '<full Cookie header>' --token '<x-authenticity-token>' - Require the full request
Cookieheader from browser Network tab, notdocument.cookie. - Store config in
~/.mymind/config.json.
Refresh cache
- Run
mymind updateto fetch/cardsand rewrite cache. - Read cache from
~/.mymind/bookmarks.json. - Read last fetch from
~/.mymind/version.json.
Search workflows
- Full-text search:
mymind search articles - Regex search:
mymind search '/(?i)(shadcn|component)/' - Tag-only search:
mymind tags components - List tag counts:
mymind list tags
jq filtering patterns
- Name/title only:
mymind search articles | jq '.[] | {title}' - Name/title and source URL:
mymind search articles | jq '.[] | {title, source_url: .source.url}' - Top tags in plain lines:
mymind list tags | jq -r '.[0:10][] | "\(.tag) \(.count)"'
403 troubleshooting
- Detect CloudFront 403 in command output.
- Re-copy cookie + token from browser request headers.
- Re-run
mymind init --cookie ... --token .... - Re-run
mymind updatebefore search commands. - If still blocked, treat as upstream/WAF policy issue and keep existing cache if present.
Command behavior expectations
mymind searchandmymind tagsreturn JSON arrays of matching cards.mymind list tagsreturns JSON array objects:{"tag":"...","count":N}.mymind versionreturns JSON withcli_versionandlast_cache_fetch.