ticktickmcp: Instructions file for Claude Code

CLAUDE.md

ticktickmcp CLAUDE.md is an instructions file for Claude Code 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 for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is kbadinger/ticktickmcp's own configuration. It tells Claude Code how to work on ticktickmcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ticktickmcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to kbadinger/ticktickmcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/kbadinger/ticktickmcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/kbadinger/ticktickmcp

Made for: Claude Code.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ticktickmcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/kbadinger/ticktickmcp/claude-md"><img src="https://agentmods.dev/badge/instructions/kbadinger/ticktickmcp/claude-md.svg" alt="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.01738 $0.01738
Opus 5.5 $0.00695 $0.00695
Sonnet 5.5 $0.00348 $0.00348
Haiku 4.5 $0.00174 $0.00174

Measured 2mo ago against content hash d97d9f90bb48, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 11mo ago), licensed MIT. It adds 1,738 tokens to every session, about $0.0070 per session on Opus 5.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.

Related

ticktickmcp CLAUDE.md compared with instructions from other repositories

ticktickmcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ticktickmcp CLAUDE.mdkbadinger/ticktickmcpInstructions file111mo agoMITA1,738Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode