qe-explore
Skill6k starsChanged 5 days agoApache-2.0View on GitHub
Use when asked to explore BTrace for new misuse or spec-conformance gaps, to grow the btrace-qe abuse corpus, to find novel ways to break BTrace, or when invoked as /qe-explore or /skill:qe-explore (optionally with a surface name and a case count).
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Inventory: Read btrace-qe/EXPLORATION.md (ideas already tried, rejected, blocked, leads), list btrace-qe/cases/, and read the schema + …
- Very specific: line 17
Pick a surface: Use the argument, or the least-covered surface in the log.
- Distinctive: line 40
Never edit harness code, build files, or existing cases' expectations to make a verdict come out.
- Distinctive: line 41
Never commit or push. The batch is for review.
- Distinctive: line 65
All cases in the batch use the same lens or the same option
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
QE Explore
Overview
btrace-qe is deterministic: it only runs committed YAML cases. This skill is where new ideas come from. You read code and docs, invent abuse cases, prove each one against real JVMs, and hand over a batch for human review. A case is worth committing only if it is grounded, novel, portable, and its verdict was checked against its own evidence.
Arguments: [surface] [count] — /qe-explore cli 2 in Claude Code, /skill:qe-explore cli 2 in Pi. Default: next surface in rotation (see log), 3 cases kept.
Workflow
- Inventory. Read
btrace-qe/EXPLORATION.md(ideas already tried, rejected, blocked, leads), listbtrace-qe/cases/**, and read the schema + pitfalls inreference.md(this directory). - Pick a surface. Use the argument, or the least-covered surface in the log. Spread the batch over at least two mutation lenses (
reference.md). Don't re-use an idea already in the corpus or the log under a new id. - Ground each idea before writing YAML. Record one of:
- code: the
file:linewhere BTrace uses the value (parses it, branches on it, opens it). A key constant inArgs.javanames the option; it is not grounding. If you can't find the use site, the input may never reach code — find it or drop the idea. Copy option names frombtrace-core/src/main/java/io/btrace/core/Args.javaor the client'sMainarg loop; never type one from memory. - doc: a verbatim claim from
docs/*.md, for a conformance case.
- code: the
- Decide the expectation from the grounding, not from intuition.
- Input invalid per code/docs →
messageMustMention= what the user must fix: the option or flag they typed, plus the offending value when it's distinctive (e.g.["port", "70000"]). Tokens come from the user's input, decided before you run the case — never from BTrace's current output. If BTrace's message would miss your tokens, that miss is the finding; keep the tokens. - Input valid-but-odd, or you can't tell → no
messageMustMention(resilience only). A guessed token creates a false S4. - Documented behavior →
intent: conformance,spec.doc+ verbatimspec.claim,exitCodeif the doc implies one.
- Input invalid per code/docs →
- Write the case using only schema keys and step verbs from
reference.md. Inputs must be portable: paths under${runDir}or${probeClassesDir}, never host paths like/etc/hosts. - Run each case alone:
GRADLE_USER_HOME=$(pwd)/.gradle-user ./gradlew :btrace-qe:qe -Pqe.case=<id> > <log> 2>&1. Readbtrace-qe/build/qe-report/runs/<id>/steps.logandstderr.log— not just the report summary. Classify the outcome and act:
Classification Evidence looks like Action Product finding Evidence shows BTrace misbehaving as the case claims Keep case as is Clean behavior No finding; BTrace rejects/ignores correctly Keep (it guards against regressions) Case defect Wrong token, wrong key, input never reached the code path Fix the YAML, re-run Harness limitation Needs a step verb, mode, or fixture that doesn't exist; or harness error Delete the case, log it as blocked - Log and hand over. Append every idea (kept, rejected, blocked) to
btrace-qe/EXPLORATION.md. Leave files uncommitted.
Boundaries
- Never edit harness code, build files, or existing cases' expectations to make a verdict come out.
- Never commit or push. The batch is for review.
- A verdict you didn't check against
runs/<id>/is not a result.
Hand-off report (this exact shape)
| id | idea | grounding | verdict (R/C/G + severities) | key evidence line | classification |followed by: blocked ideas (one line each, what the harness would need), and the command to re-run the batch (-Pqe.case= per id, or -Pqe.surface=).
Rationalizations seen in testing
| Thought | Reality |
"The message says Usage, so Usage is the token" | Then guidance can never fail. Use what the user typed (-p, notaport). |
| "The message names the option but not the value, so I'll drop the value" | Same loophole. The value goes in; a message that omits it is an S4. |
"The key is in Args.java, that's my grounding" | That's the name. Ground on the line that uses the value. |
Red flags — stop and fix
- An option name you didn't find in
Args.java/ the client arg loop - A
messageMustMentiontoken chosen or changed after reading BTrace's output - Grounding that is only a key constant, not a use site
- A verdict quoted from
report.mdwithout openingruns/<id>/ - All cases in the batch use the same lens or the same option
- A host-specific path, or an idea already listed in
EXPLORATION.md
Trending
More talk lately.about the whole repository
Who's talking about btraceio/btrace
- Stack Overflow“In btrace, how can I print a byte array in a readable format?”Stack Overflow · Mar 20, 2018 · 2 votes
- Stack Overflow“trace java program execution”Stack Overflow · Aug 18, 2022 · 1 votes
- bytedance/btrace“撞名了,建议直接叫RheaTrace”GitHub · Dec 22, 2021 · 1 reactions
- Stack Overflow“Passing the class name dynamically to clazz parameter in BTrace script”Stack Overflow · Apr 2, 2018 · 1 votes
- Stack Overflow“How to match multiple packages in btrace”Stack Overflow · Nov 30, 2017 · 1 votes
The biggest 5 of 22 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 22
Talked about on GitHub and Stack Overflow (22 times).
On GitHub · 16
- Dec 22, 2021撞名了,建议直接叫RheaTrace — bytedance/btrace1 reaction · 2 comments
- Oct 12, 2026外链检查:有失效链接 — arganzheng/arganzheng.github.com0 reactions
- Oct 5, 2026外链检查:有失效链接 — arganzheng/arganzheng.github.com0 reactions
- Sep 28, 2026外链检查:有失效链接 — arganzheng/arganzheng.github.com0 reactions
- Sep 21, 2026外链检查:有失效链接 — arganzheng/arganzheng.github.com0 reactions
11 more on GitHub
- Sep 14, 2026外链检查:有失效链接 — arganzheng/arganzheng.github.com0 reactions
- Jul 27, 2026feat(observability): add the legacy libs migration skill — btraceio/agent-plugins0 reactions
- May 31, 2026Older version of btrace 2.2.0 is installed as default (and prescribed) instead of 2.2.6 — sdkman/sdkman-db-migrations0 reactions · 1 comment
- Apr 3, 2025fix(deps): update dependency io.btrace:btrace-boot to v2.2.6 — yewton/asobiba0 reactions
- May 30, 2024fix(deps): update dependency io.btrace:btrace-boot to v2.2.5 — yewton/asobiba0 reactions
- Dec 6, 2021Add btrace — aquaproj/aqua-registry0 reactions
- Nov 21, 2021BTrace初探 — Junior233/blog_articles0 reactions
- Sep 17, 2020Selected projects to review for QA2020 — yegor256/blog0 reactions · 2 comments
- Sep 17, 2020Selected projects to review for QA2020 — alilosoft/blog0 reactions
- May 1, 2019bTrace tool — AdrianHu99/NOTES0 reactions
- Dec 21, 2017Java跟踪利器 — www1350/javaweb0 reactions
On Stack Overflow · 6
- Mar 20, 2018In btrace, how can I print a byte array in a readable format?2 votes
- Aug 18, 2022trace java program execution1 vote
- Apr 2, 2018Passing the class name dynamically to clazz parameter in BTrace script1 vote
- Nov 30, 2017How to match multiple packages in btrace1 vote
- Jan 4, 2019btrace didn't print out anything when the specified method is invoked0 votes
1 more on Stack Overflow
- Apr 2, 2018how to print exception and params together using btrace?0 votes
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- stewardSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

