Skills

The Mynth agent skill, a SKILL.md with task-specific references, from the oss repository.

The Mynth skill is the skills/mynth directory in the oss repository. SKILL.md is what the agent reads first. It picks a file from references/ for the task at hand.

Add it#

Copy the skills/mynth directory into the skills folder your agent reads, and keep SKILL.md and references/ together. The repository has no install command.

What it covers#

The skill covers image generation with @mynthio/sdk and the REST API, choosing a model, browser polling with a pat_, webhooks, the image tools, and destinations. It tells the agent to keep the API key on the server.

TaskReference
Survey a repo before migratingreferences/analyze-repo.md
Call the SDKreferences/sdk-usage.md
Call the REST APIreferences/rest-api.md
generateImage() in TanStack AIreferences/tanstack-ai.md
Registered webhooksreferences/webhooks.md
Convex webhooksreferences/convex.md
Browser polling with a pat_references/public-access-tokens.md
Rate an imagereferences/image-rating.md
Alt textreferences/image-alt.md
Remove a backgroundreferences/image-remove-background.md
Deliver to your storagereferences/destinations.md

How it picks a model#

The skill never hands the agent a model to use. It tells the agent to read the live catalog with npx @mynthio/cli models list or GET /models, filter by what the feature needs, and let you choose from two or three candidates. It tells the agent never to omit model or send auto, and to ask before saving the chosen id anywhere. The id in its code samples is marked as an example.

Video, image review, and the TanStack Start helper have no reference file. SKILL.md points the agent at the markdown docs for those. These docs are the source of truth for paths and fields. See llms.txt.

Next steps#

  • Agent prompt: a prompt and a rule list to give the agent.
  • Webhooks: helpers for Next.js, TanStack Start, and Convex.