todo-adder

Add todos via the Todo Web Manager API from CLI or JSON stdin.

4.0k|479|Updated Apr 16, 2020
One-click install
npx skills add https://github.com/huangrt01/CS-Notes --skill todo-adder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: todo-adder
Source: https://github.com/huangrt01/CS-Notes/tree/main/.trae/openclaw-skills/todo-adder
Command: npx skills add https://github.com/huangrt01/CS-Notes --skill todo-adder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) components.

What problem does it solve?

This skill automates adding todos through the Todo Web Manager API to prevent JSON syntax errors from manual edits.

Core Features & Use Cases

  • Create new todos via the API with title, priority, and assignee.
  • Support CLI entry and JSON payloads from stdin for flexible usage.
  • Auto-logs task creation and ensures consistent data structure for downstream processing.

Quick Start

Run python3 main.py '测试todo' P2 ai to add a new todo, or feed a JSON payload through stdin.

Frequently Asked Questions about todo-adder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add todos via API without causing JSON syntax errors?

You can add todos via API without JSON syntax errors by using a CLI tool that automates payload formatting and sends requests to the Todo Web Manager API. This prevents manual JSON editing mistakes.

Can I pipe JSON payloads into a CLI tool to create todos programmatically?

Yes, you can pipe JSON payloads into the CLI tool's stdin to create todos programmatically. The tool handles the JSON payload parsing and sends the structured data directly to the API.

How do I create a new todo with title, priority, and assignee from the command line?

To create a new todo from the command line, run the script with arguments for the title, priority, and assignee. The tool formats these inputs into a valid API request to ensure consistent data structure.

Do I need a local server running to use a CLI tool for adding todos via API?

Yes, adding todos via the API requires a local server dependency to be running. The CLI tool acts as a client that sends HTTP requests to this local Todo Web Manager server instance.

What is the best way to automate task creation in developer workflows?

The best way to automate task creation in developer workflows is using a CLI entry point that handles JSON payloads and API requests. This ensures consistent data structure and auto-logs task creation for downstream processing.

Why do I get JSON syntax errors when manually editing todo data?

JSON syntax errors during manual edits usually occur from missing commas, unquoted strings, or incorrect brackets. Automating todo creation via an API client eliminates these manual formatting mistakes.