cc-connect-next: Instructions file for Codex

AGENTS.md

cc-connect-next AGENTS.md is an instructions file for Codex, OpenCode from timmyagentic/cc-connect-next. It costs 3,895 tokens per session, scanned A, original, MIT.

A repository instruction guide for CC-Connect, a tool that lets people use coding agents through messaging apps such as Telegram, Discord, or Slack.

In plain words
What is it for?
Use it when developing or reviewing CC-Connect components, including its command-line entry point, configuration, agent integrations, and messaging-platform integrations.
Why use it?
It gives coding agents the project’s architecture, design rules, and important interfaces so they can make changes that fit the existing codebase.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions Codex; mentions Gemini CLI.

This is timmyagentic/cc-connect-next's own configuration. It tells Codex and OpenCode how to work on cc-connect-next 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 cc-connect-next configures →

Reuse

Borrowing it

Nothing to install: this file belongs to timmyagentic/cc-connect-next. 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/timmyagentic/cc-connect-next/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/timmyagentic/cc-connect-next

Made for: Codex, OpenCode.

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 cc-connect-next AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/timmyagentic/cc-connect-next/agents-md/github.svg)](https://agentmods.dev/instructions/timmyagentic/cc-connect-next/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/timmyagentic/cc-connect-next/agents-md"><img src="https://agentmods.dev/badge/instructions/timmyagentic/cc-connect-next/agents-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 cc-connect-next AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/timmyagentic/cc-connect-next/agents-md"><img src="https://agentmods.dev/badge/instructions/timmyagentic/cc-connect-next/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,895 This file is loaded in full into every session.
When invoked 3,895 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.03895 $0.03895
Opus 5.5 $0.01558 $0.01558
Sonnet 5.5 $0.00779 $0.00779
Haiku 4.5 $0.00390 $0.00390

Measured 12d ago against content hash bdbc3c99e7c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cc-connect-next AGENTS.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 12d 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.

AGENTS.md · 335 lines

How it starts

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

CC-Connect Development Guide

Project Overview

CC-Connect is a bridge that connects AI coding agents (Claude Code, Codex, Gemini CLI, Cursor, etc.) with messaging platforms (Feishu/Lark, Telegram, Discord, Slack, DingTalk, WeChat Work, QQ, LINE). Users interact with their coding agent through their preferred messaging app.

Repository Workflow and Branch Protection

  • Confirm the current default branch on GitHub before starting; it is currently main. Fetch that branch and make changes on a separate codex/ branch in an isolated worktree. Keep the primary checkout read-only. Under Tingjun Workspace, use its Task, Session and worktree commands and hold an active writer claim.
  • All changes to the default branch must go through a PR. Direct pushes (including fast-forward pushes), force pushes and branch deletion are prohibited. No user, administrator, app or other actor may bypass these rules. Never use --admin, add a bypass actor, or disable protection to land a change.
  • The desired ruleset is checked in at .github/rulesets/default-branch.json. It targets ~DEFAULT_BRANCH, so protection follows a default-branch rename. The live main-protection ruleset is configured separately: changing the JSON alone does not apply it. After an authorized ruleset update, read it back from GitHub and verify the effective rules for the default branch.
  • Only squash merging is allowed: each PR becomes one commit on the default branch. Both the ruleset and repository settings must allow squash and disable merge commits and rebase merging. All review conversations must be resolved before merge. The single-maintainer setup requires zero approving reviews; this does not permit ignoring substantive review findings. Inspect the current diff, head SHA, review threads and verification evidence before an authorized merge. Use gh pr merge --squash --match-head-commit <verified-full-head-SHA> without --admin. Verify the merged state afterward.
  • Keep GitHub's delete_branch_on_merge setting enabled. After merge, verify that the PR's remote task branch was automatically deleted when eligible. Default-branch deletion remains prohibited. Under Tingjun Workspace, release the task's writer claim at completion and retain the local branch and worktree for the existing archive workflow; do not delete them as part of merging or pass --delete-branch, which also deletes the local branch.
  • CI currently runs only for v* tag pushes; PRs and ordinary branch pushes do not run that workflow. Required CI checks for PR merging are deferred and are not configured in this ruleset. Follow the local verification requirements below and in CONTRIBUTING.md; an empty PR checks list is not evidence that tests passed.

Read the full file on GitHub · 335 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. 12d ago Changed · +9 lines · +523 tokens per session bdbc3c99e7c0
  2. 2mo ago First seen · 326 lines · 3,372 tokens per session scan A 759326561930

Subscribe to this mod's changes

cc-connect-next AGENTS.md is an instructions file published in the GitHub repository timmyagentic/cc-connect-next (2 stars, last pushed yesterday), licensed MIT. It adds 3,895 tokens to every session, about $0.0156 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

cc-connect-next AGENTS.md compared with instructions from other repositories

cc-connect-next AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cc-connect-next AGENTS.mdtimmyagentic/cc-connect-nextInstructions file2yesterdayMITA3,895Codex, OpenCode
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