twg-agentic-search
Skill21 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.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- twg-bench-liteSkill
- twg-code-reviewSkill
- twg-confluenceSkill
- twg-context-discoverySkill
- twg-engineering-workSkill
- twg-jira-resolve-merged-workSkill
- twg-jiraSkill
- twg-operational-healthSkill
- twg-responsibility-routingSkill
- twgSkill
- twg-space-creationSkill
- twg-status-rollupsSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 6 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
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 together with the root twg skill.
- Very specific: line 17
Run twg <command>. On shell command not found, use $HOME/.local/bin/twg (macOS/Linux) / $env:LOCALAPPDATA\Programs\twg\bin\twg.exe …
- Very specific: line 30
If app/source availability changes the plan, run twg rovo list-apps -o json.
- Distinctive: line 34
Start with one query that combines the concrete topic with the requested artifact or decision type.
- Distinctive: line 45
Search with bounded output:
- Very specific: line 52
Use @compact to shortlist candidates and @evidence when snippets, URLs, and provenance need more detail.
- Distinctive: line 57
Treat search snippets as candidates, not facts.
- Distinctive: line 66
Stop once the roles, current delivery, and important conflicts are supported, even when search returns more candidates.
- Distinctive: line 68
Prefer official spaces, owned project pages, current Jira issues, and recent decision records over personal drafts or stale chat mentions, …
- Very specific: line 72
Do not rerun an @evidence search for a candidate that can be hydrated through its product-native URL or ID, and do not refetch one source …
- Distinctive: line 75
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 213,895 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 together with the root twg skill. Exact command grammar comes from live
twg help, especially twg help describe "rovo search" when filter or output
options matter.
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.
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.
- Confirm or infer the Atlassian site. Ask only when no configured or explicit site is available and the ambiguity would change the search.
- If app/source availability changes the plan, run
twg rovo list-apps -o json. Use the returned built-ins, connectors, readiness, and auth/setup actions to decide scope; do not start setup or login unless the user asked for it. - Start with one query that combines the concrete topic with the requested artifact or decision type. Use at most one canonical/authoritative or recent/update-oriented refinement when the first result set mixes scopes, lacks primary sources, or misses the requested time signal. Do not fan out exact-title searches for every candidate already returned by the primary query.
- Choose filters deliberately. Default to Confluence and Jira built-ins for official/internal knowledge. Broaden to Slack, Google Drive, Bitbucket, GitHub, or other connectors only when useful and available. 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 bounded output:
twg rovo search "<query>" --output json --output-summary auto --agent-fields @compact
twg rovo search "<query>" --output json --output-summary auto --agent-fields @evidenceUse @compact to shortlist candidates and @evidence when snippets, URLs, and
provenance need more detail.
Evidence Rules
- Treat search snippets as candidates, not facts.
- 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,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. - For document or PRD discovery, select at most five sources across those roles. Hydrate one source per role unless a material conflict requires a second. Stop once the roles, current delivery, and important conflicts are supported, even when search returns more candidates.
- 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.
- Do not rerun an
@evidencesearch for a candidate that can be hydrated through its product-native URL or ID, and do not refetch one source under another projection. 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.

