This repository has been archived on 2026-10-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Dragon e6567ef9c8 v3: trim SKILL.md, add tiers/re-anchor/archives/user guide
Changes:
- SKILL.md cut to ~1000 tokens (from ~1700)
- Schema examples moved to references/
- Project tiers: Nano (<5 files) and Small (5-20)
- Mid-session re-anchor rule (every 15+ tool calls)
- SESSIONS archive (max 10 entries)
- Wrong-turn report format
- Collapsed session end to 5 steps
- GUIDE.md: comprehensive user guide for working with AI models
- README.md rewritten
2026-04-02 20:01:37 +00:00

1.5 KiB

Forge API Reference

Create Repository

Gitea / Forgejo

curl -s -X POST \
  -H "Authorization: token {api_token}" \
  -H "Content-Type: application/json" \
  {forge_url}/api/v1/user/repos \
  -d '{"name":"{repo}","description":"{desc}","private":false,"auto_init":false}'

GitHub

curl -s -X POST \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/vnd.github+json" \
  https://api.github.com/user/repos \
  -d '{"name":"{repo}","description":"{desc}","private":false}'

Create Issue

Gitea / Forgejo

curl -s -X POST \
  -H "Authorization: token {api_token}" \
  -H "Content-Type: application/json" \
  {forge_url}/api/v1/repos/{owner}/{repo}/issues \
  -d '{"title":"{title}","body":"{body}"}'

GitHub

curl -s -X POST \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/vnd.github+json" \
  https://api.github.com/repos/{owner}/{repo}/issues \
  -d '{"title":"{title}","body":"{body}"}'

Open Pull Request

Gitea / Forgejo

curl -s -X POST \
  -H "Authorization: token {api_token}" \
  -H "Content-Type: application/json" \
  {forge_url}/api/v1/repos/{owner}/{repo}/pulls \
  -d '{"title":"{title}","body":"{body}","head":"{branch}","base":"main"}'

GitHub

curl -s -X POST \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/vnd.github+json" \
  https://api.github.com/repos/{owner}/{repo}/pulls \
  -d '{"title":"{title}","body":"{body}","head":"{branch}","base":"main"}'