AGENT SKILL

canvas

Use this skill when the user likely wants a separately rendered artifact instead of a chat reply, explicitly mentions a canvas, asks for a code example, or asks to create/build an app. Common canvas outputs include documents, code files, React UIs, HTML pages, slides, diagrams, SVGs, and standalone tables. Common trigger verbs include make, create, write, rewrite, edit, draft, compose, build, code, generate, prepare, and document. Always read this skill before producing code examples or app-like artifacts so you can decide whether to use canvas, whether to create or update one, which mode to choose, and which optional file to read next. Also read this file before making any edits to files under /home/user/canvases/. For existing Canvas edits, prefer targeted search_replace updates over full-file write_file rewrites.

License 许可
MIT
所属仓库
TehutiRaEl/THEHIVE
最近更新
2026-11-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
canvas
description
Use this skill when the user likely wants a separately rendered artifact instead of a chat reply, explicitly mentions a canvas, asks for a code example, or asks to create/build an app. Common canvas outputs include documents, code files, React UIs, HTML pages, slides, diagrams, SVGs, and standalone tables. Common trigger verbs include make, create, write, rewrite, edit, draft, compose, build, code, generate, prepare, and document. Always read this skill before producing code examples or app-like artifacts so you can decide whether to use canvas, whether to create or update one, which mode to choose, and which optional file to read next. Also read this file before making any edits to files under /home/user/canvases/. For existing Canvas edits, prefer targeted search_replace updates over full-file write_file rewrites.

03 SKILL.md 正文

Canvas Files

A Canvas is a durable user-facing artifact. Create or edit it by writing a Canvas File at /home/user/canvases/{name}/CANVAS.md. That path is only an internal editing target.

Use chat only for a brief acknowledgment or next step. Do not paste the full Canvas body back into chat. In your final answer, never mention, quote, or Markdown-link the Canvas File path. Refer to the artifact as "the canvas" or by its title instead.

Use Canvas

Use a Canvas when the user wants a deliverable they will likely inspect, edit, preview, copy, export, or iterate on:

  • Documents
  • Code files
  • React UIs or HTML pages
  • Slides
  • Mermaid diagrams or SVGs
  • Standalone tables

Stay in chat for short answers, explanations, tiny inline snippets, lookup questions, or ambiguous requests where the artifact shape is still unclear.

File Format

Each Canvas lives in exactly one file:

/home/user/canvases/{name}/CANVAS.md

The folder name and Canvas Frontmatter name must match exactly. Canvas renames and deletion are not supported.

Each Canvas directory must contain only CANVAS.md. Do not add sibling files, nested files, generated assets, or helper modules inside a Canvas directory.

The frontmatter fields are:

  • name: stable chat-scoped identifier, required.
  • title: displayed title, optional.
  • type: required Canvas type.
  • language: optional and recommended for type: code; ignored for other types.

Minimal Template


name: example-canvas title: Example Canvas type: text/markdown

Example Canvas

Content goes here.

Supported Types

  • text/markdown: prose-first documents shown in the rich markdown editor.
  • code: source artifacts with editable code only. Set language when known.
  • react: interactive UI rendered in the React canvas runtime. Load the canvas-react skill first.
  • text/html: self-contained browser page rendered in an iframe.
  • slides: Marp markdown slide deck. Use --- between slides.
  • mermaid: raw Mermaid source. Do not wrap it in fences.
  • image/svg+xml: raw SVG. Start with a real <svg> element.
  • table: a standalone well-formed Markdown table.

Create Or Edit

  • To create a Canvas, choose a concise kebab-case name, create /home/user/canvases/{name}/CANVAS.md, and write valid frontmatter plus body.
  • To edit an existing Canvas, read its CANVAS.md, preserve user edits, and keep the same path and name.
  • For existing Canvas edits, search_replace is the default tool.
  • Before calling search_replace, read the current file and choose the smallest exact SEARCH block.
  • Prefer several small search_replace blocks over one large replacement.
  • Do not recreate or overwrite the full Canvas File for a localized edit.
  • Use write_file with the full Canvas File only when creating a new Canvas or replacing most of the artifact.

Optional References

  • skills/canvas/references/code.md
  • skills/canvas/references/html.md
  • skills/canvas/references/documents.md
  • skills/canvas/references/slides.md
  • skills/canvas/references/diagrams.md
  • skills/canvas/references/table.md

04 同仓库更多 Skills

TehutiRaEl
TehutiRaEl/THEHIVE

preamble-gate

Use BEFORE doing any work in this repo — before the first file edit, commit, push, PR, branch operation, workflow dispatch, scheduled trigger or timer, agent/subagent spawn, dependency install, or message sent to an outside service. Forces a plain-language preamble to the founder first: WHAT you are about to do, WHY, HOW, why it is NECESSARY, the PROJECTED IMPROVEMENT, and the COST and RISK — then, for consequential work (governance, security, money, CI/triggers, rewriting history, multi-agent fan-out), waits for an explicit go-ahead. Read-only investigation (reading files, grep, git log/diff, answering questions) is exempt. Applies to every AI that works in this repo, not just Claude. Founder rule, 2026-11-10, written after an unattended automation ran up cost and froze the hive. Not a substitute for wired-or-not (which governs how completion is CLAIMED); this governs what happens BEFORE work starts.

★ 0
TehutiRaEl
TehutiRaEl/THEHIVE

visionary-recommender

暂无简介

★ 0
TehutiRaEl
TehutiRaEl/THEHIVE

syllabus

Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.

★ 0
TehutiRaEl
TehutiRaEl/THEHIVE

research

Default entry point for any research request — a hybrid router that classifies the question deterministically and either delegates to a specialist research skill (pulse for trends/sentiment, grants for NIH funding, litreview for academic literature, syllabus for course reading, patent for prior-art + IP landscape, dossier for entity research) or runs its own plan-decompose-multi-source-search-synthesize-cite fallback workflow when no specialist matches. Always surfaces the routing decision so users can override. Use when the user makes any research request that doesn't obviously match a more-specific specialist skill (e.g., "research [topic]", "look into [topic]", "what do we know about [topic]", "investigate [topic]", "find me information on [topic]", "do some research on [topic]", "I need to understand [topic]"). Output is a markdown briefing (default) or .docx document (on request) with full citations and an audit log.

★ 0
TehutiRaEl
TehutiRaEl/THEHIVE

pulse

Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X/Twitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend/sentiment/problems/opportunities/comparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.

★ 0
TehutiRaEl
TehutiRaEl/THEHIVE

patent

Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search / freedom-to-operate / competitive landscape / acquisition diligence / litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Use when the user asks for patent searching or analysis (e.g., 'prior art search for [invention]', 'freedom to operate analysis for [product]'). Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.

★ 0