tui-canvas: Skill for OpenCode

.opencode/skill/calendar/SKILL.md

calendar is a skill for OpenCode from Czaruno/tui-canvas. It costs 27 tokens per session (847 once invoked), scanned A, original, MIT.

A calendar view for displaying events and letting people choose meeting times.

In plain words
What is it for?
Use it to show a weekly calendar, compare multiple calendars, select 15-, 30-, or 60-minute meeting slots, or mark time as unavailable.
Why use it?
It makes schedules easier to see and helps find a time when several calendars are free.

Skill for OpenCode

Written for OpenCode: installed under .opencode/.

This is Czaruno/tui-canvas's own configuration. It tells OpenCode how to work on tui-canvas itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tui-canvas configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Czaruno/tui-canvas. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Czaruno/tui-canvas/main/.opencode/skill/calendar/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Czaruno/tui-canvas

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for calendar

README.md
[![agentmods](https://agentmods.dev/badge/skills/czaruno/tui-canvas/calendar/github.svg)](https://agentmods.dev/skills/czaruno/tui-canvas/calendar)
Your own site
<a href="https://agentmods.dev/skills/czaruno/tui-canvas/calendar"><img src="https://agentmods.dev/badge/skills/czaruno/tui-canvas/calendar/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for calendar

Your own site · 80×15
<a href="https://agentmods.dev/skills/czaruno/tui-canvas/calendar"><img src="https://agentmods.dev/badge/skills/czaruno/tui-canvas/calendar.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 847 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00847
Opus 5 $0.00014 $0.00424
Sonnet 5 $0.00005 $0.00169
Haiku 4.5 $0.00003 $0.00085

Measured 9d ago against content hash 6f440781cf64, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

calendar scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.opencode/skill/calendar/SKILL.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Calendar Canvas

Display calendar views and enable interactive meeting time selection.

Example Prompts

  • "Schedule a 30-minute meeting with Alice and Bob sometime next week"
  • "Find a time when the engineering team is all free on Tuesday"
  • "Show me my calendar for this week"
  • "When is everyone available for a 1-hour planning session?"
  • "Block off 2-4pm on Friday for focused work"

Scenarios

display (default)

View-only calendar display. Shows events in a weekly view.

canvas_calendar({
  scenario: "display",
  config: JSON.stringify({
    title: "My Week",
    events: [
      {
        id: "1",
        title: "Team Standup",
        startTime: "2026-01-12T09:00:00",
        endTime: "2026-01-12T09:30:00",
        color: "blue"
      }
    ]
  })
})

meeting-picker

Interactive scenario for selecting a free time slot across multiple calendars.

  • Shows multiple calendars overlaid with different colors
  • User can click on free slots to select a meeting time
  • Supports configurable time slot granularity (15/30/60 min)
canvas_calendar({
  scenario: "meeting-picker",
  config: JSON.stringify({
    calendars: [
      {
        name: "Alice",
        color: "blue",
        events: [
          { id: "1", title: "Standup", startTime: "2026-01-12T09:00:00", endTime: "2026-01-12T09:30:00" }
        ]
      },
      {
        name: "Bob",
        color: "green",
        events: [
          { id: "2", title: "Call", startTime: "2026-01-12T14:00:00", endTime: "2026-01-12T15:00:00" }
        ]
      }
    ],
    slotGranularity: 30,
    minDuration: 30,
    maxDuration: 120
  })
})

Configuration Types

Display Config

interface CalendarConfig {
  title?: string;
  events: CalendarEvent[];
  weekStart?: number;  // 0 = Sunday, 1 = Monday
}

interface CalendarEvent {
  id: string;
  title: string;
  startTime: string;  // ISO datetime
  endTime: string;    // ISO datetime
  color?: string;     // blue, green, red, yellow, magenta, cyan
}

Read the full file on GitHub · 133 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 133 lines · 27 tokens per session scan A 6f440781cf64

Subscribe to this mod's changes

calendar is a skill published in the GitHub repository Czaruno/tui-canvas (0 stars, last pushed 7mo ago), licensed MIT. It adds 27 tokens to every session and 847 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories