ticktickmcp CLAUDE.md

ticktickmcp CLAUDE.md is an instructions file for coding agents from kbadinger/ticktickmcp. It costs 1,738 tokens per session, scanned A, original, MIT.

A project guide for an AI coding assistant working on a Python client for TickTick, a task-management service. It describes two ways to connect to TickTick and a system for tracking health and marriage tasks.

In plain words
What is it for?
Use it when installing dependencies, testing TickTick authentication, creating tasks, or changing the REST and OAuth client code.
Why use it?
It puts setup, authentication, development commands, and common task-creation steps in one place, so work on the project follows its intended process.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/kbadinger/ticktickmcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/kbadinger/ticktickmcp

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ticktickmcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kbadinger/ticktickmcp/claude-md.svg)](https://agentmods.dev/instructions/kbadinger/ticktickmcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/kbadinger/ticktickmcp/claude-md"><img src="https://agentmods.dev/badge/instructions/kbadinger/ticktickmcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,738 This file is loaded in full into every session.
When invoked 1,738 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01738 $0.01738
Opus 5 $0.00869 $0.00869
Sonnet 5 $0.00348 $0.00348
Haiku 4.5 $0.00174 $0.00174

Measured 4d ago against content hash d97d9f90bb48, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ticktickmcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 195 lines

How it starts

The opening of the file, as written. The whole thing — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

A Python client library for the TickTick API with two implementations:

  1. OAuth Client (ticktick_setup.py) - Uses the ticktick-py library with a monkey-patched fix for the deprecated /user/signin endpoint
  2. REST API Client (ticktick_rest_api.py) - Direct REST API implementation using OAuth 2.0

Both implementations create a health and marriage tracking system with recurring tasks, milestones, and weekly check-ins.

Development Commands

# Install dependencies
pip install -r requirements.txt

# Add individual tasks (RECOMMENDED for daily use)
python add_task.py "Task title" --content "Description" --priority 5 --due today
python add_task.py "Task title" --project Health --priority 3

# Add task with long description
python add_task.py "Task title" --content "$(cat <<'EOF'
Multi-line description here
With bullet points:
- Item 1
- Item 2
EOF
)"

# Test REST API authentication only
python ticktick_rest_api.py --auth

# Create a test task to verify REST API works
python ticktick_rest_api.py --test

# Run full setup (REST API) - Creates entire Health & Marriage system
python ticktick_rest_api.py --setup

# View status (REST API)
python ticktick_rest_api.py --status

# DEPRECATED - OAuth client (broken, re-authenticates every time)
# python ticktick_setup.py --setup
# python test_ticktick_auth.py

Authentication Architecture

Environment Variables (.env file)

All scripts require credentials in .env:

  • TICKTICK_CLIENT_ID - From developer.ticktick.com/manage
  • TICKTICK_CLIENT_SECRET - From developer.ticktick.com/manage
  • TICKTICK_REDIRECT_URI - Must be http://127.0.0.1:8080
  • TICKTICK_USERNAME - TickTick account email
  • TICKTICK_PASSWORD - TickTick account password

OAuth Flow Differences

ticktick_setup.py (ticktick-py library):

  • Uses ticktick-py library with monkey-patched _login method
  • Monkey patch at lines 29-39 fixes the /user/signin/user/signon endpoint change
  • Caches token in .token-oauth file
  • OAuth handled by the library's OAuth2 class
  • Browser authorization flow managed by library

Read the full file on GitHub · 195 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 195 lines · 1,738 tokens per session scan A d97d9f90bb48

Subscribe to this mod's changes

ticktickmcp CLAUDE.md is an instructions file published in the GitHub repository kbadinger/ticktickmcp (1 stars, last pushed 9mo ago), licensed MIT. It adds 1,738 tokens to every session, about $0.0087 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.