aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tools/project.toml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-19 11:49:06 +0200
committerDanilo M. <danix@danix.xyz>2026-10-19 11:49:06 +0200
commita150177a95ab576532559a1d8bf97d1cb17086e4 (patch)
treeb9631753be42c909963f443f5a4ed76e2f1bd4bc /examples/tools/project.toml
parent18a589cb4ad8f42e5190318fd1b912abf017ea0d (diff)
downloaddesktop-assistant-a150177a95ab576532559a1d8bf97d1cb17086e4.tar.gz
desktop-assistant-a150177a95ab576532559a1d8bf97d1cb17086e4.zip
project tool: start a new project and open an agent on it
project.sh makes a folder in ~/Programming/GIT with AGENTS.md, CLAUDE.md, README.md and LICENSE (GPLv2 only, GPLv2+, GPLv3 or MIT, texts shipped in licenses/), commits it signed, and opens Claude Code or opencode in a kitty tab, or a new window when no kitty listens. The tool description asks the model to confirm before calling. Check: test-project.sh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'examples/tools/project.toml')
-rw-r--r--examples/tools/project.toml19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/tools/project.toml b/examples/tools/project.toml
new file mode 100644
index 0000000..3c7db61
--- /dev/null
+++ b/examples/tools/project.toml
@@ -0,0 +1,19 @@
+description = "Start a new programming project: a folder in ~/Programming/GIT with AGENTS.md, CLAUDE.md, README.md, LICENSE and a signed first commit, then a kitty tab running a coding agent (Claude Code or opencode) in it. Before calling, tell the user the name, description, license and agent you will use, and call only after they say yes."
+command = ["project.sh", "{name}", "{license}", "{description}", "{agent}"]
+timeout = 120
+
+[params.name]
+type = "string"
+description = "Folder name: lowercase letters, digits, - _ . (e.g. photo-sorter)"
+
+[params.license]
+type = "string"
+description = "gpl2 (GPLv2 only, default), gpl2+ (GPLv2 or later), gpl3 or mit. Empty means gpl2."
+
+[params.description]
+type = "string"
+description = "What the project is, one or two sentences, in the user's words"
+
+[params.agent]
+type = "string"
+description = "claude (Claude Code, default) or opencode. Empty means claude."