GitHubSearchTask
Comprehensive search across GitHub's repositories, code, commits, issues, topics, and users with structured markdown reporting.
Category: Online
Side-Effect: Safe
Auth: GitHub Token Required
⚙️ GitHubSearchTaskExecutionConfigData
{
"search_query": "topic:kotlin-multiplatform",
"search_type": "repositories",
"per_page": 5,
"sort": "stars",
"order": "desc"
}
→
👁️ Session UI Output
GitHub Search Results
JetBrains/kotlin-multiplatform-samples
Samples for Kotlin Multiplatform Mobile...
touchlab/KaMPKit
KaMP Kit is a collection of code and tools...
Execution Configuration
| Field | Type | Default | Description |
|---|---|---|---|
search_query * |
String | - | The search query to use for GitHub search. Supports advanced qualifiers. |
search_type |
String | "repositories" |
Type of search: code, commits, issues, repositories, topics, users. |
per_page |
Int | 30 |
Number of results to return (1-100). |
sort |
String? | null |
Sort order (e.g., stars, forks, updated). |
order |
String? | null |
Sort direction: asc or desc. |
Task Lifecycle
-
Validation: Checks if
search_queryis present andsearch_typeis valid. - Authentication: Retrieves the GitHub API token from the user's encrypted settings.
-
Execution: Performs a GET request to
api.github.com/search/{type}with encoded parameters. - Reporting: Generates a detailed Markdown transcript and renders a summary in the Session UI.
Prompt Segment
This text is injected into the LLM context to describe the tool's capabilities:
GitHubSearch - Search GitHub for code, commits, issues, repositories, topics, or users
* Specify the search query
* Specify the type of search (code, commits, issues, repositories, topics, users)
* Specify the number of results to return (max 100)
* Optionally specify sort order (e.g. stars, forks, updated)
* Optionally specify sort direction (asc or desc)
Kotlin Boilerplate
val task = GitHubSearchTask(
orchestrationConfig = config,
planTask = GitHubSearchTask.GitHubSearchTaskExecutionConfigData(
search_query = "org:simiacryptus",
search_type = "repositories"
)
)