mark-read

mark-read is a skill for Claude Code from terrylica/cc-skills. It costs 29 tokens per session (384 once invoked), scanned A, a copy of forward-message, MIT.

A Telegram chat utility that marks all messages in a chosen chat as read. Telegram is a messaging service, and the utility runs through a command-line script.

In plain words
What is it for?
Use it to mark a chat as read by supplying its chat ID or username.
Why use it?
It clears unread indicators and mentions without requiring manual message-by-message action. It requires an existing Telegram session.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the tlg plugin — 11 skills shipped together , and of cc-skills

Good fit Use it to mark a chat as read by supplying its chat ID or username.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/terrylica/cc-skills/mark-read
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.

Any agent
npx skills add terrylica/cc-skills --skill mark-read
Clone the repo
git clone --depth 1 https://github.com/terrylica/cc-skills

Made for: Claude Code.

Or install tlg, the plugin that ships this one along with the rest of its 11 skills.

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 mark-read

README.md
[![agentmods](https://agentmods.dev/badge/skills/terrylica/cc-skills/mark-read.svg)](https://agentmods.dev/skills/terrylica/cc-skills/mark-read)
Your own site
<a href="https://agentmods.dev/skills/terrylica/cc-skills/mark-read"><img src="https://agentmods.dev/badge/skills/terrylica/cc-skills/mark-read.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 384 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod 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.00029 $0.00384
Opus 5 $0.00015 $0.00192
Sonnet 5 $0.00006 $0.00077
Haiku 4.5 $0.00003 $0.00038

Measured 3d ago against content hash 5da35f04c15e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mark-read 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 3d 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.

Origin

This is a copy

89% identical to forward-message — 33 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/tlg/skills/mark-read/SKILL.md · 49 lines

What it actually says

Mark Telegram Chat as Read

Mark all messages in a chat as read, clearing unread badges and mentions.

Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.

Preflight

  1. Session must exist: ~/.local/share/gramjs/<profile>.session
    • If missing, run /tlg:setup first

Usage

/usr/bin/env bash << 'EOF'
ROOT="$(cc-plugin-root tlg)"
SCRIPT="$ROOT/scripts/tg-cli.ts"

# Mark a chat as read
bun "$SCRIPT" mark-read <chat_id_or_username>

# Examples
bun "$SCRIPT" mark-read 2124832490
bun "$SCRIPT" mark-read @username
EOF

Parameters

Parameter Type Description
chat string/int Chat to mark as read

Post-Execution Reflection

After this skill completes, check before closing:

  1. Did the command succeed? — If not, fix the instruction or error table that caused the failure.
  2. Did parameters or output change? — If tg-cli.ts's interface drifted, update Usage examples and Parameters table to match.
  3. Was a workaround needed? — If you had to improvise (different flags, extra steps), update this SKILL.md so the next invocation doesn't need the same workaround.

Only update if the issue is real and reproducible — not speculative.

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. 3d ago First seen · 49 lines · 29 tokens per session scan A 5da35f04c15e

Subscribe to this mod's changes

mark-read is a skill published in the GitHub repository terrylica/cc-skills (62 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 384 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to forward-message, differing in 33 lines, and is treated as a copy.

Related

Other skills, from other repositories

session-status

Analyzes current session state without any cleanup. Full mode (default): resolves the active plan file, reads plan checklist + TaskList, gathers unfinished work/issues from conversation history, and emits a /handoff-built next-session prompt. Mid-session mode (/session-status mid): a fast plain-language 'done vs…

dryvist/claude-code-plugins · 102 tokens

ship

Commit, push, create PR(s), and auto-finalize — full automation pipeline. Handles uncommitted changes and recently created PRs.

dryvist/claude-code-plugins · 30 tokens

calendar

Google Calendar integration — check schedule, create events, daily briefings, proactive reminders. Triggers on "what's on my calendar", "add to calendar", "schedule a meeting", "when am I free", "daily briefing", or any calendar-related request.

k1p1l0/claude-telegram-supercharged · 55 tokens

native-first

Stack-agnostic discovery playbook for finding the native, non-custom way to do something before writing any script or wrapper. Use when tempted to write a shell/python/glue script, add a dependency, or build a custom helper — and whenever a script-guards hook blocks a script write. Climbs a fixed ladder (tool's own…

dryvist/claude-code-plugins · 117 tokens

configure

Set up the Telegram channel — save the bot token and review access policy. Use when the user pastes a Telegram bot token, asks to configure Telegram, asks "how do I set this up" or "who can reach me," or wants to check channel status.

k1p1l0/claude-telegram-supercharged · 56 tokens

cron-manager

Create, inspect, pause, and remove scheduled jobs using natural language descriptions.

profclaw/profclaw · 17 tokens