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 — 15 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 15 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/github.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/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 mark-read

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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.5 $0.00012 $0.00154
Sonnet 5.5 $0.00006 $0.00077
Haiku 4.5 $0.00003 $0.00038

Measured 1mo ago against content hash 5da35f04c15e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (0 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.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

low-code-platforms

Low-code and internal tool platforms including Retool, Supabase, Appsmith, Tooljet, n8n, and Zapier. Use when building admin panels, internal tools, workflow automations, or integrating low-code platforms with custom code.

travisjneuman/.claude · 54 tokens

host-ssh

Run PowerShell on Windows hosts or a POSIX shell on macOS/Linux hosts over SSH, via the machine registry in the guide Environment (GASSHMACHINES). Use when the user needs host OS tasks — drives, dotnet, Playwright, processes, SSH into their laptop or desktop — not file I/O on paths already visible in the workspace…

Elumenotion/GuideAnts · 115 tokens

nav-compact

Clear conversation context while preserving knowledge via context marker. Use when user says "clear context", "start fresh", "done with this task", or when approaching token limits.

qf-studio/navigator · 38 tokens

agentic-orchestration

Patterns for multi-agent coordination, task decomposition, handoffs, and workflow orchestration. Best practices for building and managing agent systems. Use when designing how multiple agents coordinate — splitting up tasks, defining handoffs, or choosing an orchestration topology.

frankxai/claude-skills-library · 55 tokens

social-media-strategy

Platform-specific tactics, content optimization, audience growth, and analytics-driven social media strategy. Use when planning a social strategy, optimizing posts for a specific platform, or growing and measuring an audience.

frankxai/claude-skills-library · 43 tokens

book-publishing

Multi-book content, voice, and production workflows for nonfiction authoring. Use when planning a book, maintaining consistent voice across chapters, structuring a manuscript, or running an end-to-end publishing pipeline.

frankxai/claude-skills-library · 44 tokens