cotend-init

cotend-init is a skill for Claude Code, Codex from lhh1301506137/CoTend. It costs 69 tokens per session (1,062 once invoked), scanned A, original, Apache-2.0.

A single entry point for initializing, updating, repairing, migrating, or resuming the CoTend development framework. It delegates the work to the project’s installed initialization workflow.

In plain words
What is it for?
Use it when connecting a project to CoTend, updating or repairing that setup, migrating it, resuming it, or checking whether development can continue under the framework.
Why use it?
It gives users one consistent way to bring a project onto the current framework without duplicating the framework’s setup rules.

Skill for Claude CodeCodex

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 skills/lhh1301506137/cotend/cotend-init
Any agent
npx skills add lhh1301506137/CoTend --skill cotend-init
Clone the repo
git clone --depth 1 https://github.com/lhh1301506137/CoTend

Made for: Claude Code, Codex.

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 cotend-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/lhh1301506137/cotend/cotend-init.svg)](https://agentmods.dev/skills/lhh1301506137/cotend/cotend-init)
Your own site
<a href="https://agentmods.dev/skills/lhh1301506137/cotend/cotend-init"><img src="https://agentmods.dev/badge/skills/lhh1301506137/cotend/cotend-init.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,062 The whole file, excluding the scripts and references it only reads on demand.
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.00069 $0.01062
Opus 5 $0.00034 $0.00531
Sonnet 5 $0.00014 $0.00212
Haiku 4.5 $0.00007 $0.00106

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

Security

Grade A, and why

cotend-init 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.

skills/cotend-init/SKILL.md · 100 lines

How it starts

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

CoTend Init

This is the thin user entry for framework initialization and update. It owns only entry recognition, one Project Init delegation, minimal result propagation, fallback loading, and one outer handback.

Use it for /cotend-init, $cotend-init, “初始化开发框架”, “更新开发框架”, “修复开发框架”, “接入双 AI”, “加载开发框架”, or an equivalent request to make the project current.

Delegate Once

Load and follow the currently installed Project Init for the installed CoTend Collaboration protocol exactly once. Project Init and its direct owners decide framework-impact scope, language/runtime state, project routing, governance writes, validation, readiness, and report rendering. Init must not parse the impact index, scan Tooling evidence, choose a Plan Tree execution unit, resolve language/risk/profile state, or reproduce any owner algorithm.

Propagate Project Init's compact result unchanged, including when present:

  • framework_update_only, including loaded/check versions, both framework anchors, actual receipt state, guards, validation and readiness;
  • user_facing_language_resolution and actual-byte pre-handback result;
  • protected semantic baseline coverage / authority / currency / consistency, derived state, gaps and unaffected confirmed paths;
  • plan_tree_alignment, triggered Project Intelligence, active route_rebase, and any material current_execution_unit;
  • an explicitly invoked same_primary_session_handoff freshness result;
  • runtime identity when relevant, the persistent Full/Adaptive profile, the separately user-owned low | medium | dev_high tier, project adoption profile, CoTend governance state, readiness and next step.

For the indexed coherence/governance changes, propagate Project Init's active-path-scoped result unchanged. Future-trigger-only Tooling refresh and Adaptive Development Experience remain cold during ordinary Init/update/ continue/resume. Do not open their bodies, catalogues or project history.

If cotend-project-init is unavailable in the visible Skill list, read its installed SKILL.md from %USERPROFILE%\.codex\skills\cotend-project-init or ~/.codex/skills/cotend-project-init, then execute it without reinterpretation. This is the only fallback.

Read the full file on GitHub · 100 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 100 lines · 69 tokens per session scan A 7307e87b4ff1

Subscribe to this mod's changes

cotend-init is a skill published in the GitHub repository lhh1301506137/CoTend (2 stars, last pushed 13d ago), licensed Apache-2.0. It adds 69 tokens to every session and 1,062 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

agent-creator

Create and configure AiderDesk agent profiles by defining tool groups, approval rules, system prompts, subagent settings, subagent filtering, and provider/model selection. Use when setting up a new agent, creating a profile, or configuring agent tools, permissions, and subagent behavior.

hotovo/aider-desk · 60 tokens

writing-tests

Write unit tests, component tests, and integration tests for AiderDesk using Vitest and React Testing Library. Use when creating new tests, adding test coverage, configuring mocks, setting up test files, or debugging failing tests.

hotovo/aider-desk · 48 tokens

doncheli-prd

Generate professional Product Requirement Documents (PRD) from multiple sources — Figma designs, briefs, user research, existing code. Includes risk analysis, RICE prioritization, Gherkin stories and launch plan. Activate when user mentions "PRD", "product requirements", "requirement document", "product spec", "figma…

doncheli/don-cheli-sdd · 81 tokens

doncheli-migrate

Plan and execute technology migrations with wave planning, breaking change detection and task generation. Activate when user mentions "migrate", "migration", "upgrade", "move from", "switch to", "Vue to React", "JS to TS", "v1 to v2".

doncheli/don-cheli-sdd · 61 tokens

doncheli-planning

Run weekly team planning with RFC review, WSJF prioritization and assignment by person/pair/squad with capacity calculation. Activate when user mentions "planning", "sprint", "weekly planning", "RFC", "team planning", "prioritize backlog", "WSJF".

doncheli/don-cheli-sdd · 61 tokens

doncheli-tech-panel

Convene a senior engineering expert panel to evaluate technical decisions. Activate when user mentions "tech panel", "technical discussion", "expert opinion", "architecture decision", "which technology", "should we use".

doncheli/don-cheli-sdd · 47 tokens