findagent_import_repo
Pull the CALLER'S OWN GitHub repo (via their connected token) and return deterministic grounding (basics, languages, tech domains, detected tools + the hosts they reach, and what the repo IS — skills, actions, runnable code or instructions only — with the parts found) plus a field contract. Use the grounding as the basis, then run findagent_submission_wizard to walk the user through the listing step-by-step and finalize with findagent_create_draft — your own model does the synthesis (no FindAgent LLM cost). Read-only: nothing is persisted or executed. Works for PRIVATE repos: the pull runs server-side with your stored GitHub token, so your AI client never needs repo access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Optional branch/tag/SHA. Defaults to the default branch HEAD. | |
| repo | Yes | owner/repo or a github.com URL (must be readable by your connected GitHub token). Private repos you own work — the pull is server-side. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | ||
| commit | No | ||
| grounding | No | ||
| instructions | No | ||
| field_contract | No | ||
| already_imported | No |