Claim
Cohub is not “searchless”. It has different search layers. Mixing them causes bad Agent behavior.
| Layer | What it searches | Built-in? | How |
|---|---|---|---|
| 1. Product search | Spaces, Chats/sessions, turns, labels… | Yes | UI command palette / GET /api/search |
| 2. Workspace knowledge | Files in the Space (wiki/, raw/, code) | Partial (fs tools, not a RAG product) | rg, read files, your wiki index |
| 3. Web search | Public internet | No first-class product | Agent skill (recommended below) |
Do not say “Cohub has no search.” Say: no built-in web/RAG search; product resource search exists; web search is a config-space skill.
Recommended web skill
hyper-search (kjx-talesofai/claude-skill-hyper-search)
Why prefer it as the config Space web search skill:
- Multi-provider: Tavily, Exa, Firecrawl, SerpAPI, DuckDuckGo (+ WeChat via
weixin-search) - Auto-fallback + normalized agent-readable output
- Bundled CLI (
node scripts/cli.js) — no fragile ad-hoc scrapers - Optional multi-provider blend, freshness, domain filters
- Installable as a standard skill (
npx skills adddiscovershyper-search)
Install into your user config Space (the Space with name === "config"), then Save so it publishes to /configs/user/.agents/skills.
Install (config Space / personal)
# Inside the config Space workspace (or any checkout, then copy into config Space skills)
npx skills add https://github.com/kjx-talesofai/claude-skill-hyper-search \
--skill "hyper-search" \
--agent codex \
--yes \
--copyEnsure files land under the config Space tree as:
.agents/skills/hyper-search/
SKILL.md
scripts/cli.js
reference/…Then Save the config Space → user config publish → other Spaces mount:
/configs/user/.agents/skills/hyper-search/Use (any Space, as owner)
# Prefer installed skill path after publish
node /configs/user/.agents/skills/hyper-search/scripts/cli.js search "latest Cohub changelog"
# Or invoke skill
# /skill:hyper-searchFirst-time providers:
node …/scripts/cli.js setupStore API keys in Space env / secret surfaces, not in committed SKILL files.
Paths after install
| Context | CLI path |
|---|---|
| Config Space workspace | node .agents/skills/hyper-search/scripts/cli.js … |
| Other Spaces (published user config) | node /configs/user/.agents/skills/hyper-search/scripts/cli.js … |
| Project-local only (not account-wide) | node .agents/skills/hyper-search/scripts/cli.js … in that project |
When to use which layer
| Need | Use |
|---|---|
| Find a Chat / Space / label in Cohub | Product search |
| Find a decision in this Space’s wiki | Workspace (wiki/index.md, rg) |
| Fresh public facts / links / news | hyper-search (web skill) |
| Social platform dumps | wgetx (not web SERP) |
Product search (built-in)
- Endpoint:
/api/search - Types include space / session / turn / label (query params)
- Requires appropriate visibility; not a replacement for web search
Done when
- [ ] Team wording distinguishes the three layers
- [ ]
hyper-searchlives in config Space and is Saved/published - [ ] Owner sandboxes can run CLI under
/configs/user/.agents/skills/hyper-search - [ ] Agents default to hyper-search for “search the web”, not inventing curl scrapers
Avoid
- Claiming Cohub has zero search
- Putting web search only in a random project Space (won’t follow you)
- Using product
/api/searchto “google” the internet - Hardcoding one flaky HTML scraper as the org standard when hyper-search exists