मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग22k · #10175

but-agentlog

यह क्या करती है

यह स्किल किसी code branch या review से जुड़े पिछले AI एजेंट सत्र देखती है। यह उन डेवलपर्स के लिए है जो किसी काम को संभालते हैं और जानना चाहते हैं कि पहले क्या आज़माया जा चुका है।

कब इस्तेमाल करें

  • ✓जब आप कोई branch उठा रहे हों और जानना चाहें कि पहले क्या हुआ।
  • ✓जब कोई branch, review या बदलाव का सार माँगे।
  • ✓जब आपको पिछले agent सत्रों से संदर्भ दोबारा पाना हो।

Skill का लिंक

https://github.com/gitbutlerapp/gitbutler/blob/master/crates/but-agentlog/skill/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/gitbutlerapp/gitbutler/blob/master/crates/but-agentlog/skill/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस branch पर कोई बदलाव करने से पहले मुझे बताइए कि यहाँ अब तक क्या हुआ है।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट GitButler के agentlog कमांड से संबंधित सत्रों की सूची एक छोटे सार में लेता है। किसी एक सत्र का विवरण तभी खोलता है जब सार पर्याप्त न हो।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

GitButler Agentlog Skill

Use but agentlog to skim prior agent work from captured sessions.

Trigger this skill for plain prompts like "get context for branch", "branch context", "catch up on this branch", "recover context", "what happened on this branch", or "what prior agent work happened here".

If both the general GitButler CLI skill and this skill seem relevant, use this skill for agentlog discovery. Use the general GitButler skill only for version control operations like commit, push, branch, or diff.

Core Workflow

Do not search for or read local SKILL.md files. If this skill is active, use these instructions directly. Do not inspect the general GitButler skill first. Start with but agentlog skim.

Start with skim when prior work could affect your next action. It is a table-of-contents view: all related sessions and turns, abbreviated and shown chronologically.

but agentlog skim
but agentlog skim branch <branch-name-or-ref>
but agentlog skim review <review-id-or-pull-request-key>
but agentlog skim change <change-id-or-key>

Use show only when skim is too thin, ambiguous, or you need exact evidence:

but agentlog show <session-key> --limit 20
but agentlog show <session-key> --turn <turn-key> --limit 20

For normal current-branch recovery, run skim without target arguments first. It discovers the applied GitButler branch itself. Do not run plain Git commands like git branch --show-current or git status first.

but agentlog skim

Pass an explicit target only when the user gives one.

Use JSON only when you need exact handles for drill-down:

but --json agentlog skim
  1. Start with skim for a clean orientation.
  2. Treat skim like compacted turn history: all related sessions and turns are present, but each turn is abbreviated. It is not the full transcript.
  3. If skim is enough for a lightweight status answer, summarize it and stop.
  4. Drill down only when skim is ambiguous, misses the rationale, or you need exact evidence.
  5. To drill down, rerun skim with --json to get the relevant session_key and turn_key, then use show.
  6. Use show <session-key> for turn-level context.
  7. Use show <session-key> --turn <turn-key> only for turns that need exact detail.

Target Discovery

When the user says "current branch" or gives no explicit target, run:

but agentlog skim

skim performs GitButler branch discovery automatically. If target discovery fails, then inspect GitButler state:

but status

Do not use plain Git's gitbutler/workspace branch as an agentlog target.

Rules

  • Prefer orientation before payload.
  • Prefer skim for turn-history recovery.
  • Treat skim as complete but abbreviated. It includes every related session and every turn in those sessions, not every record or the full transcript.
  • Prefer human skim output first. Use --json only for drill-down handles or exact evidence.
  • Run show when skim is thin, ambiguous, missing the why, or when the user is asking you to make or verify a consequential claim.
  • Do not dump records for every candidate session.
  • Do not dump full records or transcripts. If session detail is needed, start with show <session-key> --limit 20 and summarize previews.
  • Treat matches as related evidence, not ownership.
  • Keep session_key and turn_key values internal unless the user asks for evidence handles or they are needed for a follow-up command.
  • Use record snippets only when they justify the next action.
  • Say "session related to branch X via turn Y", not "session for branch X".

Reading skim

Use skim to answer "what has already been discussed, planned, attempted, or changed in this work?"

Human output is intentionally compact but includes every related session and every turn in chronological order. JSON output keeps full session_key and turn_key values so you can drill into show without printing those handles to the user.

The skim is a compressed table of contents. It abbreviates each turn but does not omit related sessions or turns.

Useful fields:

  • target_kind and target_key: target used for discovery.
  • sessions: related sessions in chronological order, with counts and previews.
  • coverage: shown sessions, shown turns, and direct related turn count.
  • sessions[].turns: every turn in order, with labels and previews.

If skim has enough context for a lightweight answer, summarize from it and stop. If it

अक्सर पूछे जाने वाले सवाल

क्या इसे GitButler ऐप चाहिए?

हाँ। यह GitButler के साथ आने वाला agentlog कमांड इस्तेमाल करता है।

क्या यह commits या pushes संभालता है?

नहीं। यह स्किल पिछले सत्र पढ़ने के लिए है। version control कार्रवाइयाँ एक अलग GitButler skill की हैं।

क्या मैं किसी एक सत्र को विस्तार से देख सकता हूँ?

हाँ। जब सार बहुत हल्का हो, तो आप उसकी key से एक सत्र खोल सकते हैं।

जानकारी

लेखक का मूल विवरण

Use for prompts like \"get context for branch\", \"catch up on this branch\", \"recover branch context\", or \"what prior agent work happened here\". Skim prior agent work from `but agentlog` captures for a GitButler branch, review / pull request / merge request, or change. Prefer this over generic git branch/diff inspection when the user asks for context, history, prior work, or branch catch-up.

repo: gitbutlerapp/gitbutler

लोकप्रियता

GitHub स्टार
22k
रैंकिंग में स्थान
#10175
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills