CommunityRédaction et éditiongithub.com

n3wth/skills

n3wth/skills

Qu'est-ce que skills ?

skills is a Claude Code agent skill that n3wth/skills.

Compatible avecClaude Code~Codex CLI~Cursor
npx skills add n3wth/skills

Installed? Explore more Rédaction et édition skills: steipete/notion, affaan-m/seo, affaan-m/brand-voice · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Canvas

canvas.n3wth.com holds interactive markdown plus a rendered preview, keyed by a public slug. Open views on the share URL update when source is written.

This skill talks to the authenticated HTTP agent API. No browser. No secrets in this file — the caller supplies CANVAS_AGENT_TOKEN and the Convex site base URL from its own env.

When to use

  • Spin up a cowork surface another human or agent can open
  • Push markdown and hand back a stable link
  • Update an existing canvas in place so open tabs re-render
  • Read current source before editing

Env the caller must have

VariableMeaning
CANVAS_SITE_URLConvex HTTP base, e.g. https://.convex.site (no trailing slash)
CANVAS_AGENT_TOKENShared bearer token, when the deployment has one configured

Public share links always use https://canvas.n3wth.com/c/{slug} (not the Convex site host).

Auth: If CANVAS_AGENT_TOKEN is set on the Convex deployment, every agent route below requires Authorization: Bearer $CANVAS_AGENT_TOKEN. If the token is unset (local/dev), the same routes work without a header — set the token in production.

API

Auth on every mutating/read agent route:

Authorization: Bearer $CANVAS_AGENT_TOKEN
Content-Type: application/json

Discovery (no auth):

curl -sS "$CANVAS_SITE_URL/agent/v1"

1. Create

curl -sS -X POST "$CANVAS_SITE_URL/agent/v1/canvases" \
  -H "Authorization: Bearer $CANVAS_AGENT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "My canvas",
    "source": "# Hello\n\nThis is **markdown**."
  }'

Response includes slug, url, version. Return url to the user — that is the canvas to open at https://canvas.n3wth.com/c/{slug}.

2. Write source

curl -sS -X PUT "$CANVAS_SITE_URL/agent/v1/canvases/$SLUG/source" \
  -H "Authorization: Bearer $CANVAS_AGENT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"source":"# Updated\n\nNew content here."}'

Open tabs on https://canvas.n3wth.com/c/$SLUG re-render without reload.

3. Read current source

curl -sS "$CANVAS_SITE_URL/agent/v1/canvases/$SLUG" \
  -H "Authorization: Bearer $CANVAS_AGENT_TOKEN"

4. List

curl -sS "$CANVAS_SITE_URL/agent/v1/canvases" \
  -H "Authorization: Bearer $CANVAS_AGENT_TOKEN"

Returns metadata only (no source bodies).

Agent workflow

  1. Confirm CANVAS_SITE_URL and CANVAS_AGENT_TOKEN are set in your environment (never commit them).
  2. POST /agent/v1/canvases with optional title/source.
  3. Tell the human/other agent the url from the response (https://canvas.n3wth.com/c/{slug}).
  4. Iterate with PUT .../source as you refine.
  5. GET .../canvases/{slug} if you need the current source before editing.

Errors

StatusMeaning
401Missing/wrong bearer token (only when the deployment has CANVAS_AGENT_TOKEN set)
404Unknown slug
400Validation (source size, JSON)

Source hard limit: 512 KiB characters.

Out of scope

No drawing whiteboard, no third-party canvas products. This API is create / write source / read / list only.

Portable install

Copy this folder into skills.n3wth.com or any household agent skills root as canvas/SKILL.md. Point agents at it from AGENTS.md. Contact: [email protected]. GitHub: https://github.com/n3wth.

Skills associés

steipete/notion

Notion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls.

community

affaan-m/seo

Audit, plan, and implement SEO improvements across technical SEO, on-page optimization, structured data, Core Web Vitals, and content strategy. Use when the user wants better search visibility, SEO remediation, schema markup, sitemap/robots work, or keyword mapping.

community

affaan-m/brand-voice

Build a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then reuse that profile across content, outreach, and social workflows. Use when the user wants voice consistency without generic AI writing tropes.

community

affaan-m/crosspost

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

community

affaan-m/x-api

X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.

community

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

community