Grille de calendrier hebdomadaire

VérifiéSûr

Afficher le plan hebdomadaire d'un agent sous forme de grille de calendrier avec colonnes de jours et lignes d'heures. Les tâches sont numérotées pour référence.

Spar Skills Guide Bot
ProductiviteIntermédiaire
24/07/2026
Claude Code
#calendar#weekly-planning#agent-scheduling#schedule-visualization#iso-week

Recommandé pour

Synthèse automatique

Affiche le plan hebdomadaire d'un agent sous forme de grille calendaire avec les jours en colonnes et les heures en lignes, les tâches étant numérotées pour être interrogées ensuite.

Points forts

  • Workflow en étapes explicites : sélection de l'agent, résolution de la semaine, puis rendu de la grille
  • Résolution de semaine souple qui accepte les formes ISO (2026-W17), les dates, les numéros de semaine nus et les alias comme next ou last
  • Sortie en tableau markdown qui se redimensionne dans le terminal, avec une option box pour les hôtes qui ne rendent pas les tableaux
  • Index de tâches numérotées permettant de demander le détail d'une tâche par son numéro

Limites

  • Dépend entièrement de la commande aweek exec calendar et d'un agent déjà créé (sinon le skill s'arrête)
  • Si aucune semaine n'est précisée, la grille se rabat sur le dernier plan approuvé, sans choix explicite
  • La grille est purement visuelle : le skill ne crée ni ne modifie aucun planning
Quand l'utiliser

Pour consulter d'un coup d'œil la semaine planifiée d'un agent et repérer les tâches par leur numéro.

Quand l'éviter

Pour créer un agent, planifier de nouvelles tâches ou modifier un planning existant, opérations que ce skill ne couvre pas.

Analyse de sécurité

Sûr
Score qualité88/100

The skill is a read-only presentation helper: it invokes a domain-specific CLI (`aweek exec calendar <subcommand>`) with JSON piped over stdin, never shell-interpolating user input into a command line. There are no destructive operations, no network exfiltration of secrets/tokens, no obfuscated payloads, and no attempts to bypass safety controls. Bash use is narrowly scoped to listing agents, resolving a week key, and rendering a grid — all display operations.

Aucun point d'attention détecté

Comment cette analyse est faite

Exemples

Show this week's plan
Show me the calendar for my planning agent for this week
Pick a specific ISO week
Display the weekly calendar of the agent named Atlas for 2026-W17
Shift to next week
aweek calendar: show next week's plan and list the numbered tasks

name: calendar description: Display an agent's weekly plan as a calendar grid with day columns and hour rows trigger: aweek calendar, weekly calendar, plan calendar, show calendar, agent calendar

aweek:calendar

Display an agent's weekly plan as a calendar grid with day columns and hour rows. Tasks are numbered so users can ask about any task by number.

Instructions

You MUST follow this exact workflow when this skill is invoked.

Step 1: Select an Agent

List all available agents:

aweek exec calendar listAgentsForCalendar

The call returns a JSON array of { id, name, role } records. Treat an empty array as the no-agents case.

  • If no agents exist, inform the user: "No agents found. Use /aweek:hire to create one first." and stop.
  • If only one agent exists, auto-select it.
  • If multiple agents exist, ask the user to pick one using AskUserQuestion.

Step 2: Resolve the Week (optional)

If the user didn't mention a specific week, skip this step and go to Step 3 — the renderer defaults to the agent's latest approved plan.

If the user mentioned a week (e.g. "week 17", "the week of April 20", "next week", "2026-W14"), pass that string verbatim to loadAndRenderGrid as a week field — it accepts every shape below — or pre-resolve it to the canonical YYYY-Www so you can confirm the choice in your reply:

echo '{ "input": "next" }' | aweek exec calendar resolveWeekKey --input-json -

Accepted shapes:

| Input | Meaning | |-------|---------| | 2026-W17 | Canonical ISO week (case-insensitive W) | | 2026-04-20 | Any ISO date — derives the ISO week containing it | | 17 or W17 | Bare week number — uses the current ISO year (in the project time zone) | | current, this, now | Current week | | next | Next ISO week | | prev, previous, last | Previous ISO week |

Invalid input throws — the skill should surface the error message and re-ask.

Step 3: Render the Calendar Grid

The default output is a GitHub-flavored markdown table (format: "markdown"). Claude Code's terminal UI re-flows pipe tables to the available width, so the calendar expands / contracts with the window instead of sitting in a fixed 120-column box. Pass format: "box" only when the host cannot render markdown tables (e.g. raw log tails) — the Unicode box-drawing grid still works but its columns are fixed.

Run the grid renderer to get the calendar text and task index. Add a week field when targeting a specific week (omit for the latest approved plan):

echo '{
  "agentId": "<AGENT_ID>",
  "week": "<WEEK_OR_DATE_OR_ALIAS>",
  "opts": {
    "format": "markdown",
    "startHour": 9,
    "endHour": 18,
    "showWeekend": false,
    "spread": "spread"
  }
}' | aweek exec calendar loadAndRenderGrid --input-json -

The response JSON contains success, output (the rendered grid text), taskIndex (the numbered task list), and errors when success === false. When the requested week has no plan on disk, errors lists every available week so you can prompt the user to pick one of them.

IMPORTANT — Not collapsed display: After running the command, you MUST output the calendar text as direct text in your response — for format: "markdown", paste the markdown table itself (no surrounding code block, so the UI renders it as a table); for format: "box", wrap result.output in a fenced code block so the Unicode borders don't reflow. Do NOT just reference the bash output — copy result.output and display it yourself so it appears expanded, not collapsed inside a bash result.

Step 4: Stop (no follow-up question)

The rendered grid already ends with Select a task number (1-N) to see details. — that is the only prompt the user needs. Do not emit an AskUserQuestion, a "What would you like to do?" menu, an adjust-view picker, or any other interactive step after displaying the calendar. Just end your turn.

Keep result.taskIndex in mind for the follow-up turn: if the user later types a task number (or asks about a specific task), look it up there and respond with its details. Do not volunteer that lookup until asked.

Render Options

| Option | Default | Description | |--------|---------|-------------| | format | markdown | markdown (responsive pipe table — default) or box (fixed-width Unicode grid) | | startHour | 9 | First hour row (0-23) | | endHour | 18 | Last hour row exclusive (1-24) | | terminalWidth | — | Box format only. Available terminal columns; auto-fits cellWidth when set | | cellWidth | auto | Box format only. Explicit per-day column width. Overrides terminalWidth | | showWeekend | false | Include Saturday and Sunday columns | | spread | pack | Distribution: pack (fill days) or spread (round-robin) |

How It Works

  • Tasks are numbered in column-major order (top-to-bottom per day, then the next day) for selection
  • Review slots (daily-review and weekly-review) receive selection numbers identical to regular work tasks — you can select them by number and apply status transitions (pending, in-progress, completed, failed, skipped) exactly the same way
  • Each hour row is as tall as its fullest cell. Every task gets its own block of wrapped lines inside the cell; empty cells pad with blanks to line up.
  • Each task displays up to 30 visible characters (<icon> <num>. <description>). Anything beyond collapses with a trailing …. Those 30 chars wrap across cell lines based on column width — narrow columns just use more rows.
  • Half-hour tasks (e.g. runAt at HH:30) bucket into the same HH:00 cell as HH:00 tasks, so they don't disappear from the view.
  • Status icons show progress: ○ pending, ► in-progress, ✓ completed, ✗ failed; ◆ marks review slots (also selectable by number)
  • The calendar is displayed as direct text (not bash output) so it's always visible
  • Time zone: day columns and hour rows reflect the user's configured time zone in .aweek/config.json (timeZone). runAt is stored as an absolute UTC ISO string, projected into that zone for display. Update the config file to switch zones; no per-agent override yet.

Related Skills

  • /aweek:plan — Edit weekly plans (add/remove tasks, adjust goals, approve/reject)
  • /aweek:summary — Dashboard view across all agents
  • /aweek:hire — Create a new agent with identity, goals, and initial plan

Data Directory

Agents are stored in .aweek/agents/<agent-id>.json relative to the project root.

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/weekly-calendar-grid-mryiqhux/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/weekly-calendar-grid-mryiqhux' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/weekly-calendar-grid-mryiqhux/download' --output '.skill-downloads/weekly-calendar-grid-mryiqhux/SKILL.md.part' && mv '.skill-downloads/weekly-calendar-grid-mryiqhux/SKILL.md.part' '.skill-downloads/weekly-calendar-grid-mryiqhux/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/weekly-calendar-grid-mryiqhux/SKILL.md' && test -s '.skill-downloads/weekly-calendar-grid-mryiqhux/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/calendar' && cp -R '.skill-downloads/weekly-calendar-grid-mryiqhux' '.claude/skills/calendar'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/weekly-calendar-grid-mryiqhux'

openskills read 'weekly-calendar-grid-mryiqhux'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/weekly-calendar-grid-mryiqhux/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires