Files

162 lines
4.3 KiB
JSON

{
"schema": 1,
"id": "plans",
"name": "Plans",
"version": "1.3.0",
"description": "Implementation plans written by the plan skill (data/plans) — gallery, plan page with estimated-vs-actual cost, status, open questions as an ask-form, the Plan tool card and the conversation's linked plans",
"category": "agents",
"icon": "icon.svg",
"color": "#505b90",
"author": "gabrielvidal",
"requires": [
"ask-form"
],
"capabilities": [
"plans.read",
"plans.write",
"conversations.read"
],
"provides": {
"plans.index": "index"
},
"events": [
{
"id": "plan-answers",
"on": [
"plugin:ask-form:form.submitted"
],
"action": "on_form_submitted"
},
{
"id": "implement-link",
"on": [
"conversation.started"
],
"action": "on_conversation_started"
}
],
"actions": {
"list": {
"script": "actions/list.py",
"timeoutSec": 20,
"description": "Every plan, newest first, with the linked conversations' actual cost, tokens and time",
"readOnly": true
},
"index": {
"script": "actions/index.py",
"timeoutSec": 10,
"description": "Every plan's summary, without the conversation join (graph, CLI)",
"readOnly": true
},
"get": {
"script": "actions/get.py",
"timeoutSec": 20,
"description": "One plan: body, files, steps, questions, answers, linked conversations, estimated vs actual",
"readOnly": true
},
"set_status": {
"script": "actions/set_status.py",
"timeoutSec": 10,
"description": "Set a plan's status (proposed, approved, in-progress, done)"
},
"open_questions": {
"script": "actions/open_questions.py",
"timeoutSec": 30,
"description": "Open the plan's ## Questions as an ask-form (or return the one already opened)"
},
"on_form_submitted": {
"script": "actions/on_form_submitted.py",
"timeoutSec": 15,
"description": "Write a submitted plan form's answers into the plan's ## Answers section"
},
"for_session": {
"script": "actions/for_session.py",
"timeoutSec": 10,
"description": "The plans a conversation wrote or worked on",
"readOnly": true
},
"on_conversation_started": {
"script": "actions/on_conversation_started.py",
"timeoutSec": 10,
"description": "Link a new conversation whose first prompt names a plan file (Implement) to that plan"
}
},
"commands": {
"ls": {
"action": "index",
"summary": "Every plan in data/plans, newest first: slug, status, title",
"description": "Every plan's slug, status (proposed, approved, in-progress, done) and title, newest first — the slug is what `show` takes.",
"output": {
"rows": "plans",
"columns": [
"slug",
"status",
"title"
]
},
"mcp": true
},
"show": {
"action": "get",
"summary": "One plan's markdown",
"description": "The full markdown of one plan (data/plans/<slug>.md), by the slug `ls` lists.",
"args": [
{
"name": "slug",
"positional": true,
"required": true,
"help": "The plan's slug, as `ls` lists it."
}
],
"output": {
"text": "content"
},
"mcp": true
}
},
"skill": {
"dir": "skill",
"name": "plan"
},
"settings": {
"subtitle": "Plans from the plan skill, with estimated-vs-actual cost"
},
"ui": {
"pages": [
{
"id": "plans",
"label": "Plans",
"nav": "files",
"icon": "clipboard-list",
"html": "ui/plans.html",
"subpath": true,
"feature": "page.plans"
}
],
"toolCards": [
{
"id": "plan-write",
"label": "Plan",
"match": {
"tool": "Write",
"filePathRegex": "(?:^|/)data/plans/[^/]+\\.md$"
},
"replace": true,
"verb": "Planned",
"html": "ui/tool-card.html",
"height": 140
}
],
"slots": [
{
"id": "conv-plans",
"where": "conversation.details",
"html": "ui/slot-details.html",
"query": {"action": "for_session", "payload": {"sessionId": "$sessionId"}},
"reuseFrame": true,
"height": 110
}
]
}
}