From dida365-toolkit
配置滴答清单 API Token 和验证连接。当用户首次使用滴答清单工具、提到"配置滴答清单""设置 API Token""dida365 setup""ticktick setup""连接滴答清单"时使用。
How this skill is triggered — by the user, by Claude, or both
Slash command
/dida365-toolkit:setup-guideThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
引导用户获取 API Token 并验证与滴答清单 API 的连接。
引导用户获取 API Token 并验证与滴答清单 API 的连接。
uv(Python 包管理器)引导用户操作:
dp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)国际版用户(TickTick):访问 https://ticktick.com,路径为 Avatar → Settings → Account & Security → API Token。
说明:该 Token 同时用于滴答清单 MCP 和 Open API,本插件通过 Open API 调用。
根据用户的操作系统,指导设置环境变量:
方式 A:在 Claude Code settings.json 中配置(推荐)
建议用户在 ~/.claude/settings.json 的 env 字段中添加:
{
"env": {
"DIDA365_API_TOKEN": "你的API Token"
}
}
方式 B:在 shell 配置中设置
# ~/.bashrc 或 ~/.zshrc
export DIDA365_API_TOKEN="你的API Token"
国际版用户额外设置域名:
export DIDA365_API_DOMAIN="api.ticktick.com"
执行以下命令测试连接:
uv run ${CLAUDE_PLUGIN_ROOT}/scripts/dida365_cli.py list-projects
预期结果:返回 JSON 格式的项目列表,表示连接成功。
如果返回错误:
401 Unauthorized:API Token 无效或过期,请重新获取连接超时:检查网络连接,国内用户确认域名为 api.dida365.com未设置 DIDA365_API_TOKEN:检查环境变量是否正确设置向用户确认配置成功,并介绍可用的功能:
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub chy5301/cc-plugins --plugin dida365-toolkit