skills/cubox-research/SKILL.md
Search a user's Cubox collection deeply by topic, theme, or question. Use this whenever the user asks to search Cubox, saved articles, archived reads, or collected pages for a subject, wants multiple keyword variations tried, wants full-text search across Cubox, or needs article details exported from Cubox HTML into local Markdown with downloaded images for later analysis.
npx skillsauth add jtsang4/efficient-coding cubox-researchInstall 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.
Use this skill when the user's Cubox collection is the source of truth. The goal is not to do one shallow keyword lookup, but to search broadly, vary keywords on purpose, fetch the best-matching article details, and analyze local Markdown instead of raw Cubox HTML.
bun install..env before any API call. The only required value is CUBOX_AUTHORIZATION.POST /c/api/norm/card/read unless the user explicitly asks for that side effect.scripts/cubox.ts context
Fetches account search context: groups, tags, and the overloaded keyword/list payload.scripts/cubox.ts search
Runs multiple keywords across preview, quick, and full-text modes, then deduplicates and ranks hits.scripts/cubox.ts research
Does the same search workflow and also fetches article details for the strongest matches.scripts/cubox.ts fetch-detail
Fetches one Cubox article detail, converts the HTML fragment to Markdown, downloads images locally, and stores the files in the temp collection.scripts/inspect-har.ts
Re-summarizes a HAR file into a quick API map when the user provides a fresh capture.Treat Cubox retrieval like library research:
Do not stop after the first hit unless the user explicitly wants a quick lookup.
Before searching, create a keyword set that covers multiple angles:
Good example for a topic like "agent harness":
agent harnessharness engineeringdeep agentsagent evalsskills工具调用智能体评测If the user already gives candidate terms, still add 2-4 meaningful variations unless doing so would obviously introduce noise.
When tags, collections, or browsing context might help, run:
bun run ./scripts/cubox.ts context --json
Use it to understand available groups and tags before searching.
Use research when you want one command to search and fetch details:
bun run ./scripts/cubox.ts research \
--topic "agent harness" \
--keyword "agent harness" \
--keyword "harness engineering" \
--keyword "deep agents" \
--keyword "智能体评测" \
--detail-limit 5 \
--json
Use search when you want to inspect candidates before downloading details:
bun run ./scripts/cubox.ts search \
--topic "台积电营收模型" \
--keyword "台积电" \
--keyword "TSMC" \
--keyword "营收模型" \
--keyword "equity research" \
--json
Default behavior searches all three modes:
preview: quick prefix discovery and highlighted matchesquick: title and metadata-oriented retrievalfull-text:正文全文搜索When you already know the cardId, fetch a single article:
bun run ./scripts/cubox.ts fetch-detail --card-id 7433881606177162362 --json
The exported files are stored under:
<system temp>/cubox-collection/<cardId>-<safe-title>/
Each article directory contains:
article.mdarticle.htmlmetadata.jsonimages/This is the preferred format for analysis. Read the Markdown, not the raw HTML.
When using this skill for an actual user request:
Use this structure unless the user asks for something else:
# Cubox Topic Memo: <topic>
## Search Strategy
- keywords tried
- why those variants were chosen
## Strongest Matches
- title, why it is relevant, and where it was found
## Detailed Takeaways
- key idea with evidence from exported Markdown
## Gaps Or Weak Signals
- what was missing
- what other keywords or filters might help
--json whenever you need to inspect script output programmatically.quick and full-text unless there is a good reason not to.cardId, not by title alone.article.md after fetching details. The script has already converted the Cubox HTML fragment and downloaded images.tmp/cubox-collection/, not flat in the temp root.references/api-map.md when you need the observed endpoint behavior from the HAR.bun run ./scripts/inspect-har.ts <har-path> if the user supplies a newer HAR and wants the map refreshed.testing
Create professional SVG diagrams of any type — architecture diagrams, flowcharts, sequence diagrams, structural diagrams, mind maps, timelines, illustrative/conceptual diagrams, and more. Supports light (default) and dark themes. Use this skill whenever the user asks for any kind of technical or conceptual diagram, visualization of a system, process flow, data flow, component relationship, network topology, decision tree, org chart, state machine, or any visual representation of structure/logic/process. Also trigger when the user says "画个图" "画一个架构图" "diagram" "flowchart" "sequence diagram" "draw me a ..." or uploads content and asks to visualize it. Output is always a standalone .svg file.
development
Use when you have a spec or requirements for a multi-step task, before touching code
development
Manage Git worktrees. Use when asked to create/switch/list/merge/remove worktrees, to keep multiple branches in parallel directories, or to clean up worktrees safely during development.
development
Use when implementing any feature or bugfix, before writing implementation code