Use this skill to manage huisheng.fm Podcast Feeds from an agent sandbox. The skill calls the user-scoped REST API directly instead of calling the MCP endpoint.
Resolve the executable relative to the installed skill root:
./scripts/run_huisheng.sh --help
./scripts/run_huisheng.sh is the only executable script in this skill package. It is self-contained and calls the fixed REST API directly with curl. Do not hardcode /mnt/skills/ or ~/.codex/... paths.
Before making API changes, run:
./scripts/run_huisheng.sh doctor
Use doctor before diagnosing API failures. hasCurl: false means the sandbox cannot run HTTP requests; hasToken: false means HUISHENG_API_TOKEN is not available in the command environment.
When the agent runtime executes commands in a separate sandbox working directory, copy scripts/run_huisheng.sh into that sandbox and run it from the copied location. This script has no sibling file dependencies.
The sandbox must provide this environment variable:
HUISHENG_API_TOKEN
Every API request sends:
Authorization: Bearer <HUISHENG_API_TOKEN>
Never print the full token in user-facing output.
The API URL is fixed and does not need user configuration:
https://huisheng.fm/api
List feeds:
./scripts/run_huisheng.sh list-feeds
Create a feed:
./scripts/run_huisheng.sh create-feed --json '{"title":"Daily Brief","siteUrl":"https://example.com"}'
List episodes:
./scripts/run_huisheng.sh list-episodes <feed-key>
Create an episode:
./scripts/run_huisheng.sh create-episode <feed-key> --json-file ./episode-payload.json
HUISHENG_API_TOKEN; do not invent fallback token names.https://huisheng.fm/api.--json-file for long episode payloads.Read references/api.md only when you need the endpoint list.
共 1 个版本