Skip to content

feat: add you-search skill for keyless You.com web search - #478

Open
valueadd-lgtm wants to merge 1 commit into
CraftOS-dev:devfrom
valueadd-lgtm:feat/you-search-skill
Open

valueadd-lgtm wants to merge 1 commit into
CraftOS-dev:devfrom
valueadd-lgtm:feat/you-search-skill

Conversation

@valueadd-lgtm

Copy link
Copy Markdown

What

  • New you-search skill: web search through You.com's hosted MCP endpoint
  • Mirrors the existing tavily-search layout — SKILL.md + scripts/search.mjs (Node ≥18, global fetch, zero npm dependencies)

Why

The catalog already covers several web-search providers (brave, tavily, duckduckgo, baidu). You.com's free MCP profile has the same zero-setup property that makes the DuckDuckGo skill handy — no API key, no signup — so it slots in as another opt-in option for live-information queries. Setting YDC_API_KEY switches the same script to the authenticated endpoint (https://api.you.com/mcp) for the full toolset, with no other usage changes.

How to test

# keyless — no setup
node skills/you-search/scripts/search.mjs "python asyncio tutorial" -n 3

# authenticated (optional)
YDC_API_KEY=*** node skills/you-search/scripts/search.mjs "python asyncio tutorial"

Validation I ran:

  • Skill auto-registers through the existing SkillLoader filesystem discovery — skills/you-search/SKILL.md frontmatter parses (name: you-search, user-invocable: true), 198 skills discovered, no registry files changed
  • python -m compileall -q app agent_core agents decorators skills — clean (no .py files added)
  • ruff check . and ruff format --check . — clean
  • Live keyless run returns real results in the same ## Sources format the tavily script uses; -n clamps to 20; no-args prints usage and exits 2
  • A bad YDC_API_KEY surfaces a clean one-line error (server 401 carried through the MCP result), no stack trace

Notes

Happy to adjust the shape (e.g. allowed-tools frontmatter or different output format) if you'd prefer a different convention.

Signed-off-by: valueadd-lgtm <339269770+valueadd-lgtm@users.noreply.github.com>
@zfoong

zfoong commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

Thanks a lot @valueadd-lgtm. We will review the PR when the development cycle for V.1.4.4 is moved to dev branch! Meanwhile, feel free to join the CraftBot Discover server to follow our journey: https://discord.gg/bSdZf9HSgq

@valueadd-lgtm

Copy link
Copy Markdown
Author

Thanks @zfoong! I'll keep an eye out for the V1.4.4 dev cycle — happy to rebase the skill or adjust it if the skills format changes in the meantime. Looking forward to the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants