Λογότυπο Carnet

Carnet

Κοινότητα
jfarcand
carnet

Work the private register (mirroir-carnet) from a session — claim an issue before touching it so peers see who holds it and which session, release or close it when done, file new issues in the one canonical shape. Use whenever an issue number is mentioned, when you start or stop work that an issue tracks, or when you are about to run gh issue against the tracker.

Επισκόπηση

Εκδότηςjfarcand
Αποθετήριοmirroir-mcp
Όνομα δεξιότηταςcarnet
Αστέρια
288
Forks
38
Συνοδευτικά αρχεία
5
Άδεια χρήσηςApache-2.0
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • 5 συνοδευτικά αρχεία

    Σενάρια, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε από jfarcand στο GitHub. Διαβάστε το πηγαίο περιεχόμενο πριν εγκαταστήσετε τη δεξιότητα.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Carnet στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/jfarcand/mirroir-mcp/tree/main/.claude/skills/carnet
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Νέα δεξιότητα → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που διαβάζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jfarcand/mirroir-mcp.git /tmp/mirroir-mcp
mkdir -p .claude/skills
cp -r /tmp/mirroir-mcp/.claude/skills/carnet .claude/skills/carnet
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Carnet σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Carnet μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Carnet δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλα κατά τη συνομιλία

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Carnet

The register is shared by every repo of the product (registre.toml names it) and by many Claude Code sessions at once. Nothing on an issue says a session is on it, so peers collide: two sessions build the same design, or find and write up the same issue independently. A claim fixes that. It is three native GitHub facts that move together:

CarrierMeaning
assigneethe human accountable (gh login)
label in-progressa live session holds the issue
newest carnet-claim marker commentwhich session — id, name, user, host, pid, repo, branch, time

One script does everything: .claude/skills/carnet/carnet.sh.

Never run gh issue against the tracker by hand — the script is the one path that keeps the three carriers consistent and the title shape uniform.

The rules

  1. Claim before the first edit — and it now happens without you. The PreToolUse hook claims every issue the prompt named as soon as you touch a write tool, so an issue you were told about is held before your first edit lands. Run claim <n> yourself when the number never appeared in a prompt (you found the issue by searching, or you are picking up work mid-session). Not after the commit: a claim made after the work is done protects nobody.
  2. A refusal is a peer, not an obstacle. Exit code 2 means another live session holds the issue, or a session on another host does. Tell the user who and which session, and stop. The auto-claim hook enforces this once: it blocks your first edit and names the holder. It does not block again — after that you are accountable, not the hook. Do not --steal on your own judgement — stealing is the user's call, and the stolen-from session is warned on the issue.
  3. Release when you stop, close when it is fixed. release <n> when you abandon or hand off; close <n> --why "…" --commit <sha> when the work landed. Both drop the label and the assignee and post a marker. A session that ends still holding claims is released by the SessionEnd hook, so a forgotten release is not fatal — but do not rely on it.
  4. Every close says why. --why is mandatory and is what the next reader sees first. Add --commit <sha> whenever a commit resolved it: carnet#N in a commit message is plain text to GitHub and never closes anything cross-repo.
  5. File through create. It reads the tracker from registre.toml, refuses a public tracker, prefixes the title [<project>] , and always adds the project label. Titles are [<project>] <Thing> — one shape, no variants, capitalised first word unless it is an identifier. The limitation label goes only on an issue that a LIMITATION(registre#n) marker in source will point at; plain findings get the project label alone.

Commands

bash
C=.claude/skills/carnet/carnet.sh

$C claim 197                      # hold it: assign me, label, marker comment, local ledger
$C claim 197 --steal              # take it from a live or remote session — user's decision only
$C release 197 --reason "handed to i18Guards"
$C status 197                     # who holds it, is that session alive, which branch
$C status                         # every in-progress issue in the tracker
$C mine                           # what this session holds (no API call); --verify to check the tracker
$C create --title "Tier 1e is blind to a symbol move" --label bug --body-file /tmp/body.md --claim
$C close 197 --why "Tier 1e-move greps the old path" --commit 8720f8343
$C label 197 +critical -bug

Add --dry-run to any of them to see the gh calls without making them.

What the hooks do for you

  • UserPromptSubmit (hooks/prompt-status.sh): when a prompt names carnet#N, registre#N, or a carnet issue URL, one status line per issue lands in your context before you answer — carnet#N · held by @jfarcand · session i18Guards (a3f9c2d1) on 1Q84 [running] · feature/i18n-guards · since …. Read it. If it says unclaimed, claim before editing. If it says [session ended — stale], a plain claim takes it over. A peer message or a background task result gets the status line plus a note saying it armed nothing — see A peer naming an issue is not assigning it below.
  • PreToolUse (hooks/auto-claim.sh): claims those issues for you, on the first write-shaped tool call after the prompt that named them. Reading is not working — a question about an issue never reaches a write tool and never claims. A Bash call counts as an edit only when the command looks like one (a redirect into a file, sed -i, mv, git commit, …), because a session that edits through bash would otherwise never claim. If a live peer holds the issue it blocks that one tool call and names them. Before claiming it asks the transcript who wrote the prompt that named the issue: a /loop or ScheduleWakeup re-fire is text the model wrote for itself, and a peer message or task result is text no human wrote, so a list armed by any of those claims nothing and prints carnet: NOT claimed — carnet#N came from a scheduled wakeup … instead. Take it deliberately if it is yours: carnet.sh claim <n>.
  • SessionEnd (hooks/session-end-release.sh): releases everything this session still holds, from its ledger under $CLAUDE_CONFIG_DIR/carnet-claims/. Zero calls when nothing is held.

All three are wired in the consumer repo's .claude/settings.json; the snippet is at the top of each hook file. The auto-claim hook costs one stat when nothing is pending, which is almost always — it runs before every edit in every session.

What it deliberately does not do. It never claims from a prompt alone, so asking about an issue is free. It never steals. It forgets a pending list an hour old, so an issue mentioned long ago is not claimed by an unrelated edit. It never claims from a peer message, a background task result, or a wakeup prompt the session scheduled for itself. And it never blocks twice for the same issue: a permanent block would deadlock a session over an issue that was only mentioned in passing.

A wakeup you write is not an assignment you received. When you schedule a wakeup (/loop, ScheduleWakeup), the prompt that comes back is yours, and the hooks know it. The prompt hook honours a source field when the UserPromptSubmit payload carries one (any value but user is a machine author); the payload Claude Code sends carries none, and the transcript entry that names the author is written after the hook runs, so the prompt hook records the prompt id and the claim hook reads that entry — promptSource: "system", isMeta: true, scheduledTaskId — before claiming: a session that writes an issue number into its own wakeup would otherwise hold that issue though nobody asked it to. Do not put issue numbers into a wakeup prompt as a to-do list for yourself; and if you are told a claim was refused because the prompt was a wakeup, that is the hook working.

A peer naming an issue is not assigning it

Sessions message each other, and many of them are working on something else entirely — another repo, another product, a goal that has nothing to do with the register. When one of those is asked a question, the whole correct answer is to answer it. Do not claim the issue the sender mentioned, do not assign it to yourself, do not comment on it, do not start fixing it. If the message does not concern you, one line saying so is a complete reply.

That is now enforced, not just asked for. A peer message arrives in the prompt hook as <cross-session-message from="…">, and a background result as <task-notification> — both byte-identical to something the user typed. They used to arm the claim list, and it went wrong in both directions:

what happened
false claiman issue was claimed 31s after a peer wrote that their point must not go into it; a second two minutes after a peer replied "Not mine."; a third 25s after a peer retracted a diagnosis. Three issues assigned — label, assignee and marker comment — to sessions that were never going to work them.
false blockone FYI ("I hold this issue, stay off these files") blocked a tool call in six separate sessions, each told "Do not do this work twice" about work it had never started. Two belonged to a different product.

Both vectors now print the status line and arm nothing: knowing who holds the issue is exactly what you need in order to answer the sender, and a peer cannot redirect your session's claim onto an issue it happened to mention. Taking work a peer hands over is still fine — it is just explicit now: carnet.sh claim <n>.

When you are the sender, say which of the three you mean, in the first line:

IntentWrite it as
FYI, no actionFYI only — I hold carnet#N and am editing <files>. Nothing for you to do; ignore if you are in another repo.
A questionQuestion, no action on the issue: <question>. carnet#N is mine and stays mine.
A real handoffHanding off carnet#N — I have released it. If you take it, claim it first.

The first line is all the recipient's human sees as a preview, and it is what stops an unrelated session from adopting your work out of helpfulness.

How liveness is decided

Claude Code writes sessions/<pid>.json under the config dir for every running session and removes it on exit. A claim on this host is running when that file exists with the same session id and the pid answers kill -0; otherwise it ended and claim takes it over with a "took over" line. A claim from another host cannot be checked, so it is refused without --steal. Outside Claude Code (session=manual) a claim is advisory: it records the human, and nothing auto-releases it.

Where things are

Trackerregistre.toml → tracker (mirroir: jfarcand/mirroir-carnet, PRIVATE)
Title prefix[<project>] — registre.toml → project (mirroir-mcp), else the repo name from origin — never the checkout's basename, which in a worktree is the branch
Ledger${CLAUDE_CONFIG_DIR:-~/.claude}/carnet-claims/<session-id>.jsonl
Tests.claude/skills/carnet/test.sh — stub gh, every refusal path fires

Related

  • register-limitation files its issue through create --label limitation, then writes the LIMITATION(registre#n): marker.
  • An open decision in a plan or audit is filed the same way — one issue per decision, so each gets its own close.

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Carnet;

Work the private register (mirroir-carnet) from a session — claim an issue before touching it so peers see who holds it and which session, release or close it when done, file new issues in the one canonical shape. Use whenever an issue number is mentioned, when you start or stop work that an issue tracks, or when you are about to run gh issue against the tracker.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Carnet στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Carnet είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη Carnet στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε το https://github.com/jfarcand/mirroir-mcp/tree/main/.claude/skills/carnet. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Carnet;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη Carnet;

Με όσα θέλετε. Εφόσον ένα μοντέλο υποστηρίζει δεξιότητες, μπορείτε να χρησιμοποιήσετε τη Carnet με αυτό — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama και άλλα — όλα στο TypingMind με τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Carnet;

Ναι. Δημοσιεύεται στο GitHub από τον χρήστη jfarcand με την άδεια χρήσης Apache-2.0. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇