Skip to content

Cottzz/thought-codec

Repository files navigation

ThoughtCodec

License: MIT Bilingual Skills

ThoughtCodec banner

ThoughtCodec is a bilingual, open-source skill library for turning abstract human intent into executable AI workflows, then compressing repeated practice back into reusable skills.

中文说明请见 README.zh-CN.md.

Marketplace

  • SkillHub - install the published thought-codec skill.

Why This Exists

Most AI workflows still treat models as tools that answer isolated questions. ThoughtCodec treats AI collaboration as a two-way codec:

  • Decompression: expand high-density ideas, strategies, and constraints into plans, SOPs, code structures, diagrams, and execution checklists.
  • Compression: extract reusable rules from corrections, logs, repeated decisions, and finished work, then turn them into durable skills.

The project starts from five practical skills for Codex, Claude, and similar agentic assistants.

Documentation

Skill Library

Skill Type Use it when you need to
Architecture Scaffolding Decompression Convert business logic into architecture, data models, API contracts, and code structure.
SOP Instantiation Decompression Convert a broad goal into a concrete operating procedure with milestones and checks.
Rule & Prompt Optimizer Compression Convert feedback, corrections, and conversation traces into reusable prompt rules.
Code Abstraction & Encapsulation Compression Convert repeated or messy code into reusable components and engineering rules.
Personal Methodology Engine Loop Combine decompression and compression into a personal working-system loop.

Each skill has an English and Simplified Chinese version:

skills/<skill-id>/SKILL.md
skills/<skill-id>/SKILL.zh-CN.md

Each skill also includes a practical example under skills/<skill-id>/examples/.

Architecture

ThoughtCodec architecture

ThoughtCodec uses three shared building blocks:

Repository Layout

.
|-- assets/              # Logo, banner, diagrams, and social preview images
|-- catalog/             # Machine-readable bilingual skill index
|-- docs/
|   |-- en/              # English project documentation
|   `-- zh-CN/           # Simplified Chinese project documentation
|-- examples/            # Cross-skill workflow examples
|-- scripts/             # Validation and maintenance scripts
`-- skills/              # One folder per skill

Quick Start

  1. Pick the skill that matches your task.
  2. Read the English or Chinese SKILL file.
  3. Paste the skill instructions into Codex, Claude, or another agentic assistant.
  4. Provide the required inputs.
  5. Review the output, then record useful corrections for future compression.

Run the repository check locally:

bash scripts/validate_structure.sh

Visual Assets

This repository includes reusable open-source project visuals:

Status

ThoughtCodec is currently an initial public preview. The structure, first five preview-status skills, bilingual documentation, examples, visual assets, and validation script are in place. Future work can add integrations, tests, and more domain-specific skills.

License

Released under the MIT License.

About

A bilingual skill library for decompression and compression based AI workflows.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors