cotend-init

cotend-init is a skill for 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 Codex

Written for Codex: agents/openai.yaml present. Also seen: reads ~/.codex paths; mentions Codex; $skill-name invocation.

Good fit 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.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lhh1301506137/cotend/cotend-init
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 lhh1301506137/CoTend --skill cotend-init
Clone the repo
git clone --depth 1 https://github.com/lhh1301506137/CoTend

Made for: 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/github.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/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 cotend-init

Your own site · 80×15
<a href="https://agentmods.dev/skills/lhh1301506137/cotend/cotend-init"><img src="https://agentmods.dev/badge/skills/lhh1301506137/cotend/cotend-init.svg" alt="Reviewed on agentmods" width="80" 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. 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.00069 $0.01062
Opus 5.5 $0.00028 $0.00425
Sonnet 5.5 $0.00014 $0.00212
Haiku 4.5 $0.00007 $0.00106

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

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. 1mo 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 7d 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.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

extension-creator

Create AiderDesk extensions by setting up extension files, defining metadata, implementing Extension interface methods, and updating documentation. Use when building a new extension, creating extension commands, tools, or event handlers.

hotovo/aider-desk · 44 tokens

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

deep-review

Comprehensive code review — architecture + correctness. Scope with args — diff (default), branch, all, path, or IDE selection. Delegates to reviewer agent for large scope.

zahardev/aicontext · 39 tokens

review

Review code changes for bugs, security, edge cases. Scope with args — diff (default), branch, commit, path, or IDE selection. Delegates to reviewer agent for large scope.

zahardev/aicontext · 40 tokens

align-context

Update all context files (task, spec, task-context, worklog) to reflect current state of work — fixes stale entries, fills missing knowledge, reports what changed.

zahardev/aicontext · 36 tokens