# Fork It

> Before the user starts coding a new project idea, search GitHub for an existing repo to fork as a starting point. Skip for debugging, learning, or a specific algorithm/function.

- **Type:** Skill
- **Install:** `agentstack add skill-gdwhisper-fork-it-skill-fork-it`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [GDWhisper](https://agentstack.voostack.com/s/gdwhisper)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [GDWhisper](https://github.com/GDWhisper)
- **Source:** https://github.com/GDWhisper/fork-it.skill/tree/main/fork-it

## Install

```sh
agentstack add skill-gdwhisper-fork-it-skill-fork-it
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# fork-it

Method: search GitHub before building from scratch, fork the closest match, then make it yours.

## Language
Reply in the user's language. Script output is language-neutral (English repo data); translate names, descriptions, and your commentary when presenting.

## When to use
- User wants to build / create / make something new (any language), or invokes `/fork-it`.
- **Skip** when: debugging or fixing existing code, learning/teaching, asking about a specific function/algorithm/regex, or they've already chosen a base project.

## Workflow
1. **Search** with their keywords:
   ```bash
   node scripts/github-search.mjs "keywords" --language js --min-stars 50 --limit 5
   ```
2. **Analyze** each result by fit:
   - Great match → fork & customize
   - Partial match → fork & extend (add the missing piece)
   - Reference only → study the approach, then build your own
   - Nothing fits → build fresh
3. **Recommend** the best 1–3 candidates (stars / language / what it gives them) with the suggested path. If nothing fits, say so and encourage a from-scratch build.
4. **Details on demand** — when the user leans toward one repo, fetch more with:
   ```bash
   node scripts/repo-detail.mjs "owner/repo"
   ```

## Notes
- Format `stars` as `12.3k`, `pushed_days_ago` as "3 days ago". Full JSON shape and all flags: `references/schema.md`.
- Rate limit: 60/hr unauthenticated, 5000/hr with `GITHUB_TOKEN`. Set it if searches start failing.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [GDWhisper](https://github.com/GDWhisper)
- **Source:** [GDWhisper/fork-it.skill](https://github.com/GDWhisper/fork-it.skill)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-gdwhisper-fork-it-skill-fork-it
- Seller: https://agentstack.voostack.com/s/gdwhisper
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
