superself
Skill này làm gì
Công cụ này giúp tổ chức và theo dõi tiến độ dự án. Nó ghi lại những gì đã được quyết định, công việc đã làm và các quyết định đã đưa ra, để lần sau công việc tiếp tục đúng chỗ đã dừng.
Khi nào nên dùng
- ✓Khi dự án của bạn dùng Superself để quản lý trạng thái.
- ✓Khi các tệp AGENTS.md hoặc CLAUDE.md của dự án có khối `<!-- superself:begin`.
- ✓Khi lệnh `self setup` hiển thị thông tin của dự án bạn.
Liên kết skill
https://github.com/wshobson/agents/blob/main/plugins/superself/skills/superself/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tiến độ của dự án X đến đâu? Các quyết định mới nhất là gì?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ đọc trạng thái hiện tại của dự án (mục tiêu, quyết định, công việc) và cho phép bạn thêm công việc mới, ghi lại việc đã làm và xác nhận quyết định. Mọi thứ được lưu trong lịch sử để tham khảo sau này.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Superself
Superself is an Apache-2.0 CLI (npm install -g superself@0.6.1, Node 22.12+) that
version-controls a project's state — goals, decisions, work units, reports —
as an append-only event log in a git repository separate from the code. The
state is derived on demand, so nothing in it is hand-maintained. This skill
tells an agent how to read and write that state through the self CLI. It is
maintained by the Superself authors: https://github.com/fxylabs/superself
When this skill applies
- The project's
AGENTS.mdorCLAUDE.mdcontains a block between<!-- superself:beginand<!-- superself:end -->, orself setupprints the workspace, project, and store this directory resolves to. - Skip the skill when
self --versionfails: the project does not use Superself, and nothing below should be invented by hand. This skill is written againstsuperself@0.6.1; a different major or minor version may have moved a verb or flag, so checkself <command> --helpbefore relying on one.
Session start
- Run
self contextand treat its output as current truth: the goal, active decisions and conventions, open work, recent reports. It is folded from the log, never written by hand. - Something missing from context was placed out of the rendered set on
purpose;
self search <query>finds live records context left out, andself work show <id>prints one unit's full brief and report history.
While working
- Substantive work attaches to a work unit. Create one with
self work add "<required outcome>"— the outcome is what must become true, not the task — thenself work start <id>.startreads the brief and records that this session picked the unit up; if another session holds it, the CLI says who and since when and does not refuse. Judge and proceed. - After committing, report progress:
self report <id> "<what happened>". The current HEAD commit is attached as evidence automatically;--evidence <commit|note>attaches something else,--file <path>attaches a longer brief. - Record a decision the user confirmed:
self decide "<text>" --why "<reason>". Use--proposedwhen the user has not confirmed it. One decision per event. - Blocked?
self work block <id> --on decision|dependency|external --why "...". Superseded or moved?self work retire <id> --why "..." [--successor <id>]. Never mark such a unit done, and never leave it falsely blocked. - Found a gap between an objective and the current state? Propose the work with
self work proposeand its brief; the user accepts or declines it. - The user approved a next step or a continuation? Register it at once with
self work addand the context behind it. A plan that lives only in the conversation is lost when the conversation ends.
Closing
self work done <id>closes a unit only when a report carries a commit or an artifact, or the done itself states what verifiably happened:self work done <id> --report "<what verifiably happened>". A bare claim is refused, and declared criteria gate it until each is covered.- A record's text is immutable once confirmed. Correct it by restating:
--supersedes <id>on any add verb records the new wording and keeps the lineage.retractwithdraws a record with nothing replacing it.
Rules that keep the state trustworthy
- Records — events, decisions, reports, conventions — are written in English so whoever opens them next can read them; answer the person in their own language.
- A branch reaches main through a pull request: PR review and CI own merge control. Superself owns context and the work graph, not the merge gate.
- Never hand-edit generated state files or anything under
.superself/. - In a project without a superself block, run
self setupfirst. If it resolves the directory to a registered project, ask the user once whether to runself connect, which writes the managed block intoAGENTS.mdorCLAUDE.md. If it resolves no project, ask once whether to register it withself project init. Never register or connect a project on your own.
Going deeper
self --help lists every verb; self <command> --help prints one command's
flags without touching state. Topic guides ship with the CLI:
self help agents— how a session drives this CLI, start to finishself help context— whatself contextrenders, and why something is missing from it
…
Câu hỏi thường gặp
Superself là gì?
Đó là công cụ quản lý trạng thái dự án dưới dạng nhật ký sự kiện, tách biệt với mã nguồn của dự án.
Nếu tôi chưa cài Superself thì sao?
Nếu lệnh `self --version` báo lỗi, nghĩa là dự án không dùng Superself và không nên dùng công cụ này.
Tôi có thể sửa trực tiếp các tệp trạng thái không?
Không. Đừng bao giờ sửa tay các tệp trạng thái được tạo ra hoặc bất cứ thứ gì trong thư mục `.superself/` để giữ tính toàn vẹn của lịch sử.
Chi tiết
Mô tả gốc của tác giả
Use when a project keeps its state in Superself (a `<!-- superself:begin` block in AGENTS.md or CLAUDE.md, or `self setup` resolves the directory to a registered project): read `self context` at session start, attach work to a work unit, report with evidence, and record confirmed decisions so the next session picks up where this one left off.
repo: wshobson/agents
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #6797
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
screen-reader-testing
41kGiúp agent của bạn kiểm thử website bằng trình đọc màn hình để đảm bảo chúng có thể truy cập được.
wcag-audit-patterns
41kGiúp agent của bạn kiểm toán website về khả năng truy cập và sửa các vấn đề theo hướng dẫn WCAG.
multi-reviewer-patterns
41kCho phép agent của bạn điều phối các đợt rà soát mã song song, loại bỏ phát hiện trùng lặp và tổng hợp báo cáo.
parallel-debugging
41kCho phép agent gỡ lỗi các vấn đề phức tạp bằng cách điều tra song song và phân tích nguyên nhân gốc.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.