360 Secure SkillHub
360 安全技能中心

Cognary Tasks is an AI-first task manager that turns your spoken thoughts into organized, actionable tasks instantly. Just speak naturally, and Cognary uses AI to prioritize, structure, and manage your to-dos for you. Less effort, more focus — productivity built for the AI era.

通过 npm 全局安装的 cognary-cli 调用 Cognary 任务服务,支持任务列出、添加、查看、更新、完成、取消完成与删除;列表支持状态、分类、优先级、搜索、排序和分页筛选。需设置 COGNARY_API_KEY,命令以 --json 输出后由模型格式化展示。

dboyne
dboyne
热度 92.02
最近更新 2026-05-11 15:53:17
分类:协作依赖:代码执行 / 第三方 API应用场景:任务管理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add cognary-ai-tasks
Metadata
name
cognary-tasks
description
Manage task lists via cognary-cli. Use for listing, adding, updating, completing, uncompleting, and deleting tasks. Triggers on any request about tasks, to-dos, task lists, reminders-as-tasks, or tracking action items.

Cognary Tasks

Manage tasks via cognary-cli tasks. Always pass --json for parseable output.

Installation

If cognary-cli is not installed, install it first:

npm install -g cognary-cli

Auth

The COGNARY_API_KEY env var must be set. If calls fail with an auth error, tell the user:

  • If they don't have an account or API key, they can register at https://tasks.cognary.ai
  • Once in the app, go to the Settings menu and select "MANAGE API KEYS" to create a new key
  • Then provide the key so it can be configured

Commands

List tasks

cognary-cli tasks list [--status active|completed|all] [--category <cat>] [--priority High|Medium|Low] [--search <query>] [--sort createdAt|updatedAt|dueDate|priority|title] [--order asc|desc] [--limit <n>] [--page <n>] [--active-only] [--completed-limit <n>] --json

Default: all tasks, sorted by createdAt desc, limit 20.

Add task

cognary-cli tasks add "<title>" [--notes "<notes>"] [--category "<cat>"] [--priority High|Medium|Low] [--due-date "<date>"] --json

Get task

cognary-cli tasks get <id> --json

Update task

cognary-cli tasks update <id> [--title "<title>"] [--notes "<notes>"] [--category "<cat>"] [--priority High|Medium|Low] [--due-date "<date>"] --json

Complete task

cognary-cli tasks complete <id> --json

Uncomplete task (reactivate)

cognary-cli tasks uncomplete <id> --json

Delete task

cognary-cli tasks delete <id> --json

Formatting

  • When listing tasks, present them in a clean readable format (not raw JSON).
  • Show: title, status, priority, category, due date (if set), and ID.
  • Group active vs completed when showing all.
  • Use emoji for priority: 🔴 High, 🟡 Medium, 🟢 Low.
  • When confirming actions (add/complete/delete), be brief.