Formspark for OpenCode
Give OpenCode the Formspark skill. Ask for a form, and it writes one in your own markup.
OpenCode is an open source coding agent for the terminal.
Set up in three steps
Add the skill
Run this in your project's root. It saves the skill in
.agents/skills, where OpenCode looks for skills. Read how OpenCode uses skills.Terminalmkdir -p .agents/skills/formspark curl -fsSL -o .agents/skills/formspark/SKILL.md \ https://documentation.formspark.io/skills/formspark/SKILL.md
Ask for a form
OpenCode writes the form and tests it against
https://submit-form.com/echo, which echoes a submission back and stores nothing. You do not need an account yet.PromptAdd a contact form to this site that posts to Formspark. Use the formspark skill, and keep my markup and styling.
Paste your form id
Create a form and give OpenCode its id. Submissions then land in your dashboard.
What OpenCode reads
- The Formspark skill: the endpoint, the headers, the control fields and the API.
- llms.txt: every page of this site, for agents.
- Documentation llms.txt: every documentation page, as Markdown.