update(tb-session): add workflow guidance to SKILL.md#16
Open
update(tb-session): add workflow guidance to SKILL.md#16
Conversation
…gent usage Adds a structured Workflow section that instructs Claude Code how to use tb-session effectively: always use --json, pick the right command per intent, present results with structured fields, offer concrete next steps, and actually execute resume when asked. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tb-sessionSKILL.md with 6 explicit instructions for Claude Code agents--jsonflag, inconsistent result presentation, failure to executeresumewhen asked, excessive tool callsWhat changed
Added a
## Workflowsection between## Importantand## Getting startedwith:--json— agents were inconsistently using human-readable outputshow <id>orresume <id>after resultstb-session resume <id>, not just describe the sessionAutoresearch results
Improvements were validated using the
p-autoresearchframework with 4 eval scenarios × 3 runs each (12 trials per experiment), scored by independent judge agents on 5 metrics.Experiment progression
Per-metric improvement (baseline → exp002)
Eval scenarios
Key findings
--jsoncompliance: Baseline 2/3 runs missed it → exp002 12/12 use ittb-session resume(the baseline already did this with Sonnet — the real-world gap may be model-specific or context-dependent)show <id>when no match exists. This is arguably correct behavior.Token usage
Despite adding 22 lines of instructions, token usage slightly decreased due to fewer retry searches and more efficient command selection.
Test plan
tb-session skill help--jsonis used by default in agent responsesresumeis actually called (not just described) when user says "resume"🤖 Generated with Claude Code