Thanks for helping improve the TikHub plugin for Claude Code! This plugin is a thin connector over TikHub's API — most contributions are new/updated skills (Markdown) and small helper scripts.
.claude-plugin/ plugin.json + marketplace.json (manifests — required)
.mcp.json hosted-MCP server wiring (npx mcp-remote)
skills/<name>/SKILL.md one folder per skill
bin/tikhub-find-endpoint endpoint search CLI
scripts/validate-skills.sh structural validator (run before every commit)
scripts/build-openapi-index.py regenerates the bundled endpoint index
scripts/test-find-endpoint.sh test for the search CLI
skills/tikhub-endpoint-discovery/references/openapi-index.json bundled index
git clone <your-fork-url> && cd tikhub-plugin
export TIKHUB_API_KEY="your_key" # only needed to call the API, not to edit skills
./scripts/validate-skills.sh # must print "N passed, 0 failed"
claude --plugin-dir . # load the plugin locally to test- Create
skills/<skill-name>/SKILL.mdwith YAML frontmatter:--- name: <skill-name> # must equal the folder name description: <trigger-rich one-liner — when should Claude use this?> ---
- Follow the house structure used by existing skills: Setup gate → action/workflow →
verification gate → red flags → handoffs. Every skill that calls the API must check
TIKHUB_API_KEYin its setup gate. - Use real, verified endpoints. Find paths and params with:
./bin/tikhub-find-endpoint "<goal>" --platform <slug>
- Keep pagination params accurate per platform (
max_cursor/offset,pagination_token,continuation_token,cursor,end_cursor,cursor+index). - Add cost-awareness for anything that paginates or batches — TikHub bills per call.
The de-scoped platforms (LinkedIn, Reddit, Bilibili, Weibo, WeChat, Kuaishou, Zhihu, Lemon8,
Toutiao, Xigua, PiPiXia) are reachable today via tikhub-endpoint-discovery. To promote one to a
dedicated skill, mirror an existing platform skill (e.g. skills/instagram/SKILL.md) and, if it
should be MCP-enabled by default, add its server entry to .mcp.json (slug from the tikhub-mcp
skill's table).
When TikHub bumps the API version, regenerate the bundled index:
python3 scripts/build-openapi-index.py # fetches the live spec
# offline fallback:
# python3 scripts/build-openapi-index.py --spec /path/to/openapi.jsonCommit the updated skills/tikhub-endpoint-discovery/references/openapi-index.json.
-
./scripts/validate-skills.sh→0 failed -
./scripts/test-find-endpoint.sh→all passed -
claude plugin validate .→ passes - No secrets/API keys committed (keys come from
$TIKHUB_API_KEYat runtime only) - One logical change per commit, with a clear message
- Skills are Markdown only — no secrets, no network calls baked into examples beyond
curl/SDK snippets the user runs themselves. - Match the tone and section structure of existing skills.
- Bump
versionin both.claude-plugin/plugin.jsonand.claude-plugin/marketplace.json(metadata + plugin) for releases, and add aCHANGELOG.mdentry.
By contributing, you agree your contributions are licensed under the MIT License.