daybook/docs
peter fb69261218 Add GET /api/skill endpoint serving the posting skill
Serves skills/daybook-posting/SKILL.md so users/agents can fetch the
posting instructions from the running instance instead of hunting for the
file. The server rewrites the DAYBOOK_URL config line to the request's own
origin, so the text handed to an agent already points at the right server;
the recipient only supplies their token.

- Same auth as /api/capabilities (session or bearer token); no user data.
- Raw text/markdown by default, ?format=json returns {version, url, skill}.
- Advertised via skill_url + a /api/skill methods entry in capabilities.
- Ships in the Docker image (COPY . /app, skills/ not dockerignored).
- Tests for auth, origin rewrite, JSON mode, session auth, capabilities ad.
- docs/api.md + CHANGELOG updated.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-03 15:50:04 +01:00
..
agent_quickstart.md Add generic deployment docs and fix stale references 2026-09-01 22:14:34 +01:00
api.md Add GET /api/skill endpoint serving the posting skill 2026-09-03 15:50:04 +01:00
deployment.md Fix healthcheck + verify commands; reframe deploy runbook for a capable agent 2026-09-03 14:32:39 +01:00
llm_posting_helper.md Review docs/api.md and docs/llm_posting_helper.md for accuracy and completeness 2026-09-02 16:49:19 +01:00