[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [GitHub account search](https://spiral.ai/integrations/opencode/github-account-search)

# How to Use GitHub account search in opencode

Returns matching public GitHub accounts, including organization accounts, with account names and profile links. Use it to find an organization's GitHub identity before inspecting its profile or projects.

|  |  |
| --- | --- |
| Model | GitHub account search |
| Available through | Alexandria |
| Category | E-commerce |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GitHub account search in opencode

- Use GitHub account search to find organization accounts matching Mozilla. Add the returned names and profile links to our organization research document.
- Use GitHub account search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from GitHub account search and tell me what changed since last week.
- Check GitHub account search and summarize what you find in three bullet points.
- Pull the newest data from GitHub account search and give me the result as a table.

## How to set up GitHub account search in opencode

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run GitHub account search**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "github-com/repositories/search_users",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: opencode finds GitHub account search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## GitHub account search tools and prices

- [GitHub · Search users](https://spiral.ai/tools/alexandria/github-com/repositories/search_users) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 100 | 1 | page |
| sort | best_match, followers, repositories, joined | best_match | sort |
| type | user, org | — | Only users or only organizations. |
| order | asc, desc | desc | order |
| query |  | — | Free text and GitHub user-search qualifiers. Text is matched against login and name (in:login,name is added unless in:login or in:name is given); in:email and @ are refused. |
| repos |  | — | Public repository count: N, >N, >=N, <N, <=N or N..M. |

## What can you do with GitHub account search in opencode?

Add GitHub evidence to a dependency decision in your project. A coding agent can connect public project, organization, or advisory records to the packages and versions in your files.

### Build a dependency shortlist

Find candidate organizations, inspect their public profiles, compare repositories, and read both project disclosures and package advisories before choosing a dependency.

### Prepare a migration decision

Compare replacement projects, identify their publishing organizations, and summarize known vulnerabilities and available fixes alongside repository activity.

### Review a vendor's public software

Locate a vendor's GitHub organization, document its public profile and repositories, and examine disclosures for the projects and packages under consideration.

### Write a project research brief

Resolve an organization's GitHub account, describe its public projects, and explain relevant repository disclosures and package vulnerabilities with links to the records.

### Map an organization's public projects

Find organization accounts, inspect their public descriptions and websites, and collect matching repositories into a project directory.

### Compare public project activity

Compare repository descriptions, languages, stars, forks, and activity timestamps, with organization profiles providing context for ownership.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## GitHub account search in other agents

- [Amp](https://spiral.ai/integrations/amp/github-account-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/github-account-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/github-account-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/github-account-search)
- [Cline](https://spiral.ai/integrations/cline/github-account-search)
- [Codex](https://spiral.ai/integrations/codex/github-account-search)
- [Cursor](https://spiral.ai/integrations/cursor/github-account-search)
- [Devin](https://spiral.ai/integrations/devin/github-account-search)
- [dots](https://spiral.ai/integrations/dots/github-account-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/github-account-search)
- [Gemini](https://spiral.ai/integrations/gemini/github-account-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/github-account-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/github-account-search)
- [goose](https://spiral.ai/integrations/goose/github-account-search)
- [Grok](https://spiral.ai/integrations/grok/github-account-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/github-account-search)
- [Hermes](https://spiral.ai/integrations/hermes/github-account-search)
- [Instinct](https://spiral.ai/integrations/instinct/github-account-search)
- [Manus](https://spiral.ai/integrations/manus/github-account-search)
- [Muse](https://spiral.ai/integrations/muse/github-account-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/github-account-search)
- [n8n](https://spiral.ai/integrations/n8n/github-account-search)
- [Notion](https://spiral.ai/integrations/notion/github-account-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/github-account-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/github-account-search)
- [Raycast](https://spiral.ai/integrations/raycast/github-account-search)
- [VS Code](https://spiral.ai/integrations/vscode/github-account-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/github-account-search)
- [Zapier](https://spiral.ai/integrations/zapier/github-account-search)

## More opencode guides

- [Flipp retailer flyer items](https://spiral.ai/integrations/opencode/flipp-retailer-flyer-items)
- [GitHub latest release](https://spiral.ai/integrations/opencode/github-latest-release)
- [Flipp product deals search](https://spiral.ai/integrations/opencode/flipp-product-deals-search)
- [GitHub malware advisories](https://spiral.ai/integrations/opencode/github-malware-advisories)
- [Flipp local retailer flyers](https://spiral.ai/integrations/opencode/flipp-local-retailer-flyers)
- [GitHub public account profile](https://spiral.ai/integrations/opencode/github-public-account-profile)

## Questions about GitHub account search in opencode

**Can opencode use GitHub account search?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run GitHub account search like any built-in tool.

**How much does GitHub account search cost in opencode?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need an Alexandria account to use GitHub account search in opencode?**

No. Spiral runs GitHub account search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up GitHub account search in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while GitHub account search runs?**

GitHub account search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Are forks included in GitHub repository searches?**

Forks are excluded by default. GitHub supports including forks alongside original repositories or searching only forks.

**Which security disclosures are public?**

Anyone can read a published advisory on a public repository. Unpublished advisory discussions require access to that disclosure.

**What does GitHub-reviewed mean?**

GitHub checks reviewed advisories for validity and maps them to packages in supported ecosystems. Unreviewed advisories are imported automatically from the National Vulnerability Database feed.

**How quickly do repository disclosures reach the Advisory Database?**

GitHub says the review and publication process can take up to 72 hours. A repository's published advisory can therefore appear before its reviewed database record.

**Can I reuse GitHub Advisory Database records?**

The Advisory Database uses CC BY 4.0. Reuse requires appropriate credit, a license link, and an indication of changes; GitHub's API terms also prohibit collecting data for spam or selling users' personal information.

