twg-agentic-search
Skill35 starsChanged 6 months agoApache-2.0View on GitHub
Use with root `twg` for deep iterative enterprise/company knowledge search and internal research with Rovo Search across connected apps/connectors including Confluence, Jira, Drive, Slack, Bitbucket, and GitHub.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- ByronScottJones/Agentsedited, first seen Oct 17, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- ByronScottJones/Agents★ 780% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- twg-artifactsSkill
- twg-code-reviewSkill
- twg-confluenceSkill
- twg-context-discoverySkill
- twg-engineering-workSkill
- twg-jira-resolve-merged-workSkill
- twg-jiraSkill
- twg-operational-healthSkill
- twg-responsibility-routingSkill
- twg-setupSkill
- twgSkill
- twg-space-creationSkill
- twg-status-rollupsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 12 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Use the root twg skill's Fast path for common simple commands table for simple searches and reads.
- Very specific: line 14
Use twg help describe "rovo search" for unclear Rovo flags during that plan.
- Very specific: line 18
Run twg <command>. On shell command not found, use $HOME/.local/bin/twg (macOS/Linux) / $env:LOCALAPPDATA\Programs\twg\bin\twg.exe …
- Distinctive: line 31
When the user supplies an exact key, URL, title, or named canonical source, preserve that anchor: hydrate and verify the returned identity …
- Distinctive: line 41
Use retained results and follow failure guidance.
- Distinctive: line 47
Start with one query combining the topic and requested artifact or decision.
- Distinctive: line 48
Put exact identifiers such as issue keys or error codes in double quotes.
- Distinctive: line 49
Add a focused canonical/authoritative or recent refinement when results mix scopes, lack primary sources, or miss the requested time signal.
- Distinctive: line 57
Search with the default scope and a small limit:
- Very specific: line 70
After 2–3 semantic misses, switch to CQL (twg confluence search query --cql 'type=page AND title ~ "<term>"' --limit 50, space-scoped when …
- Distinctive: line 77
Treat search snippets as candidates, not facts.
- Distinctive: line 78
Treat ranking, recency, activity volume, and similarity as discovery signals, not proof of authority, identity, validity, or currentness.
- Distinctive: line 88
When a native key or URL is known, hydrate it directly.
- Distinctive: line 95
Prefer official spaces, owned project pages, current Jira issues, and recent decision records over personal drafts or stale chat mentions, …
- Distinctive: line 99
Use one authoritative source when it fully supports the claim.
- Very specific: line 102
Do not rerun an @evidence search for a candidate that can be hydrated through its product-native URL or ID, or refetch one source under …
- Distinctive: line 106
Call out ACL gaps, unavailable connectors, low recall, and unresolved contradictions instead of flattening them into a single claim.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
twg-agentic-search
Use the root twg skill's Fast path for common simple commands table for simple searches and reads.
Choose the command that fits; the rows are alternatives, not a required sequence.
For other commands or unclear inputs or flags, follow its Plan First steps.
Use twg help describe "rovo search" for unclear Rovo flags during that plan.
CLI launcher fallback
Run twg <command>. On shell command not found, use $HOME/.local/bin/twg
(macOS/Linux) / $env:LOCALAPPDATA\Programs\twg\bin\twg.exe (PowerShell), then
tell user to add that directory to PATH. Do not treat auth or command errors as
PATH failures.
Agents: use host-set TWG_AGENT_DEFAULTS=1 or TWG_AGENT_DEFAULTS=1 twg <command>. If assignments are blocked, pass --mode agent with explicit output flags. Respect host permissions. --mode user overrides the opt-in.
Workflow
- Classify the request as fuzzy or cross-product internal research. Prefer this skill when the source is unclear, current company knowledge is needed, or the answer may span Confluence, Jira, Drive, Slack, Bitbucket, GitHub, or other Rovo-connected apps. When the user supplies an exact key, URL, title, or named canonical source, preserve that anchor: hydrate and verify the returned identity before considering similarly named results. A similar title is not a substitute for the requested source.
- Confirm or infer the Atlassian site. Ask only when no configured or explicit site is available and the ambiguity would change the search.
- For unanchored work or knowledge, run the default search with no
--app: it covers Jira, Confluence and the ready connectors. Complete or skip-only recovery exits 0 (skippednames excluded sources). Other partial results exit 3 with ≤10 returned items, otherwise 0; count after duplicate removal and the requested limit. Use retained results and follow failure guidance; exit 0 does not prove full coverage. Retry temporary failures at most once after a delay. Report access gaps; do not repeat the search to fix permissions. Narrow with--apponly when the request names that source. If availability is unknown, runtwg rovo list-apps -o jsononce. Do not list apps before every query, start setup/login, or fabricate an empty result for a skipped connector. - Start with one query combining the topic and requested artifact or decision. Put exact identifiers such as issue keys or error codes in double quotes; leave ordinary words and phrases unquoted. Add a focused canonical/authoritative or recent refinement when results mix scopes, lack primary sources, or miss the requested time signal. Continue only while it can change identity, scope, authority, or freshness. Do not fan out exact-title searches for every returned candidate. Follow canonical, moved, or superseding source relationships while retaining requested semantics.
- Choose filters deliberately. Use app, type, recency, owner/contributor/assignee/reporter/status, title-only, label/space, and site filters when they narrow evidence without hiding likely answers.
- Search with the default scope and a small limit:
twg rovo search "<query>" --limit 10
twg rovo search "<query>" --limit 10 -o json --agent-fields @evidenceFor one recall retry, increase --limit from 10 to 20 when the first results leave
a gap that could change the answer. Otherwise, do not repeat a query with only a different --app or
--limit. Use @evidence only when snippets and provenance need more detail.
Public web-crawler hits rank below internal sources unless the prompt asks
about public docs.
- After 2–3 semantic misses, switch to CQL (
twg confluence search query --cql 'type=page AND title ~ "<term>"' --limit 50, space-scoped when hits cluster) and JQL (twg jira workitem query --jql 'text ~ "<term>"') with short entity and feature terms.
Evidence Rules
- Treat search snippets as candidates, not facts.
- Treat ranking, recency, activity volume, and similarity as discovery signals, not proof of authority, identity, validity, or currentness. Verify the selected source's key/URL/title and canonical or supersession relationship from hydrated evidence before replacing an explicit anchor.
- Hydrate a small, diverse primary-source set before final claims. For document
discovery, cover distinct roles such as requirements, architecture/design,
and current delivery rather than redundant pages. Use product-native
commands such as
twg confluence content get(≤3 IDs per call),twg jira workitem get,twg jira workitem query,twg bb pull-requests get <id>,twg bb repo get, or the relevant product command for the result URL/type. When a native key or URL is known, hydrate it directly; use another search or a document-body fetch only when the native result lacks a material field or narrative needed for the answer. - For document or PRD discovery, select a small, diverse set across needed roles. Hydrate one per role; add another only for a material conflict, missing field, current-delivery question, or requested relationship. Stop when roles, current delivery, and conflicts are supported or unavailable.
- Prefer official spaces, owned project pages, current Jira issues, and recent decision records over personal drafts or stale chat mentions, unless the user explicitly asked for informal signal.
- Compare hydrated evidence for conflicts, recency, ownership, and authority.
- Use one authoritative source when it fully supports the claim. Treat the source-count limit as a default, not a quota: add a narrow follow-up only for a material unresolved conflict, missing field, or requested relationship.
- Do not rerun an
@evidencesearch for a candidate that can be hydrated through its product-native URL or ID, or refetch one source under another projection merely to increase context. Use a different native projection when it supplies a missing material field or relationship, and explain the remaining gap. Call out ACL gaps, unavailable connectors, low recall, and unresolved contradictions instead of flattening them into a single claim.
Output
Lead with the answer or best-supported conclusion. Cite hydrated titles/URLs and include the source app, date or status when available, and why each source was trusted. Separate confirmed facts, likely interpretations, conflicts, and gaps.
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.

