apply-grant
Preamble (run first)
_TEL_TIER=$(cat ~/.superstack/config.json 2>/dev/null | grep -o '"telemetryTier": *"[^"]*"' | head -1 | sed 's/.*"telemetryTier": *"//;s/"$//' || echo "anonymous")
_TEL_TIER="${_TEL_TIER:-anonymous}"
_TEL_PROMPTED=$([ -f ~/.superstack/.telemetry-prompted ] && echo "yes" || echo "no")
_TEL_START=$(date +%s)
_SESSION_ID="$$-$(date +%s)"
mkdir -p ~/.superstack
echo "TELEMETRY: $_TEL_TIER"
echo "TEL_PROMPTED: $_TEL_PROMPTED"
if [ "$_TEL_TIER" != "off" ]; then
_TEL_EVENT='{"skill":"apply-grant","phase":"launch","event":"started","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'"}'
echo "$_TEL_EVENT" >> ~/.superstack/telemetry.jsonl 2>/dev/null || true
_CONVEX_URL=$(cat ~/.superstack/config.json 2>/dev/null | grep -o '"convexUrl":"[^"]*"' | head -1 | cut -d'"' -f4 || echo "")
[ -n "$_CONVEX_URL" ] && curl -s -X POST "$_CONVEX_URL/api/mutation" -H "Content-Type: application/json" -d '{"path":"telemetry:track","args":{"skill":"apply-grant","phase":"launch","status":"success","version":"0.2.0","platform":"'$(uname -s)-$(uname -m)'","timestamp":'$(date +%s)000'}}' >/dev/null 2>&1 &
true
fi
If TEL_PROMPTED is no: Before starting the skill workflow, ask the user about telemetry.
Use AskUserQuestion:
Help superstack get better! We track which skills get used and how long they take — no code, no file paths, no PII. Change anytime in
~/.superstack/config.json.
Options:
- A) Sure, help superstack improve (anonymous)
- B) No thanks
If A: run this bash:
echo '{"telemetryTier":"anonymous"}' > ~/.superstack/config.json
_TEL_TIER="anonymous"
touch ~/.superstack/.telemetry-prompted
If B: run this bash:
echo '{"telemetryTier":"off"}' > ~/.superstack/config.json
_TEL_TIER="off"
touch ~/.superstack/.telemetry-prompted
This only happens once. If TEL_PROMPTED is yes, skip this entirely and proceed to the skill workflow.
Apply for Agentic Engineering Grant
Gather everything the user needs to submit an Agentic Engineering Grant Application on Solana Earn. The grant is fixed at 200 USDG. Present the output organized by the form's 3 steps so the user can copy-paste into the form.
Skill Router
{{SKILL_ROUTER.md}}
Grant Link
Submit here: https://superteam.fun/earn/grants/agentic-engineering
Always show this link to the user at the start and end of the skill.
Workflow
Phase 0 — Export session transcript
Before anything else, run the bundled export script to copy the current AI session transcript to the project root:
bash ~/.claude/skills/apply-grant/export-session.sh .
The script automatically:
- Finds the latest Claude Code session
.jsonlfrom~/.claude/projects/<project-slug>/→ copies as./claude-session.jsonl - Finds the latest Codex session from
~/.codex/sessions/→ copies as./codex-session.jsonl
After running, confirm to the user which file(s) were exported and where they are. These files are proof of AI-assisted development for the grant application.
Fallback: If the script fails or no session is found, tell the user to manually export:
- Claude Code: Run
/exportin the chat — this saves a.txttranscript to the working directory. Attach that file instead. - Codex: Session logs are in
~/.codex/sessions/— find the latest.jsonland copy it to the project root.
Phase 1 — Collect project context
- Look for
idea-context.md,build-context.md,README.md,package.json,Cargo.toml, orAnchor.tomlin the working directory. - Read
git log --oneline -20for recent work history. - Read
git remote -vto get the GitHub repo URL. - Check for any prior phase handoff files in
skills/data/specs/. - Ask the user for any missing required fields (TG username, wallet address, X profile) that cannot be inferred.
Phase 2 — Generate grant application draft
Present the output as a copy-paste-ready draft organized by the 3 form steps:
Step 1: Basics
| Field | Required | What to fill |
|---|---|---|
| Project Title | Yes | Infer from package.json name, Anchor.toml, or README title. Ask if unclear. |
| One Line Description | Yes | Generate a concise one-liner from project context. |
| TG username | Yes | Ask the user. Format: t.me/<username> |
| Wallet Address | Yes | Ask the user for their Solana wallet address. |
Step 2: Details
| Field | Required | What to fill |
|---|---|---|
| Project Details | Yes | Write a 2-4 paragraph description covering the problem statement and proposed solution. Pull from idea-context.md, build-context.md, and README. |
| Deadline | Yes | Ask the user for their target shipping deadline (timezone: Asia/Calcutta). |
| Proof of Work | Yes | Compile from: git history, shipped demos, deployed programs, live URLs, prior hackathon submissions, agent demos. Include links. |
| Personal X Profile | Yes | Ask the user. Format: x.com/<handle> |
| Personal GitHub Profile | No | Infer from git config or remote URL. Format: github.com/<username> |
| Colosseum Crowdedness Score | Yes | Remind the user to visit https://colosseum.com/copilot to get their project's Crowdedness Score, take a screenshot, upload to a publicly accessible Google Drive, and paste the link. |
| AI Session Transcript | Yes | Auto-exported in Phase 0. The file is at ./claude-session.jsonl (Claude Code) or ./codex-session.jsonl (Codex) in the project root — user should attach this to the form. |
Step 3: Milestones
| Field | Required | What to fill |
|---|---|---|
| Goals and Milestones | Yes | Generate 3-5 concrete milestones with dates based on the project scope and deadline. |
| Primary KPI | Yes | Suggest a single measurable metric (e.g., "X daily active users", "Y TVL", "Z transactions per day"). Ask user to confirm. |
| Final tranche checkbox | Yes | Remind the user: to receive the final tranche, they must submit the Colosseum project link, GitHub repo, and AI subscription receipt. |
Phase 3 — Present the draft
Output the complete application as a structured markdown document with clear section headers matching the form steps. Use blockquotes (>) for each field value so the user can easily copy them.
Format example:
## Step 1: Basics
**Project Title**
> MyProject
**One Line Description**
> A one-liner describing the project.
**TG username**
> t.me/username
**Wallet Address**
> <user's wallet>
Phase 4 — Iterate
After presenting the draft:
- Ask the user to review each section.
- Offer to refine any field.
- Remind the user about the exported session file(s) in the project root.
- Show the grant submission link: https://superteam.fun/earn/grants/agentic-engineering
- Summarize what files the user should have ready to submit:
- Session transcript (
./claude-session.jsonlor./codex-session.jsonl) - Colosseum Crowdedness Score screenshot
- The copy-paste-ready application text above
- Session transcript (
Important Notes
- The grant amount is fixed at 200 USDG.
- Always generate proof of work from actual git history and project artifacts — never fabricate.
- If the project has a Colosseum submission, reference it in proof of work.
- If prior skills have been used (idea validation, scaffold, build), reference those outputs as proof of work.
- Keep the tone professional but concise — grant reviewers read many applications.
Telemetry (run last)
After the skill workflow completes (success, error, or abort), log the telemetry event.
Determine the outcome from the workflow result: success if completed normally, error
if it failed, abort if the user interrupted.
Run this bash:
_TEL_END=$(date +%s)
_TEL_DUR=$(( _TEL_END - ${_TEL_START:-$_TEL_END} ))
_TEL_TIER=$(cat ~/.superstack/config.json 2>/dev/null | grep -o '"telemetryTier": *"[^"]*"' | head -1 | sed 's/.*"telemetryTier": *"//;s/"$//' || echo "anonymous")
if [ "$_TEL_TIER" != "off" ]; then
echo '{"skill":"apply-grant","phase":"launch","event":"completed","outcome":"OUTCOME","duration_s":"'"$_TEL_DUR"'","session":"'"$_SESSION_ID"'","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","platform":"'$(uname -s)-$(uname -m)'"}' >> ~/.superstack/telemetry.jsonl 2>/dev/null || true
true
fi
Replace OUTCOME with success/error/abort based on the workflow result.
More from sendaifun/solana-new
submit-to-hackathon
Prepare and optimize a hackathon submission for a Solana project. Use when a user says "submit to hackathon", "prepare my submission", "hackathon entry", "write project description", "demo video", or "help me win the hackathon". Reads all prior phase context if available.
8colosseum-copilot
Search and analyze 5,400+ Solana hackathon projects using Colosseum Copilot. Find similar projects, discover winner patterns, identify gaps, and explore ML clusters. Use when a user says "colosseum copilot", "hackathon projects", "winner patterns", "gap analysis hackathon", "similar Solana projects", or "colosseum landscape". Requires a Colosseum Copilot token.
8create-pitch-deck
Create a structured pitch deck for a crypto project. Use when a user says "create a pitch deck", "help me pitch", "I need slides", "prepare for demo day", "investor presentation", or "grant application". Reads idea-context.md and build-context.md from prior phases if available.
8marketing-video
Create marketing videos for Solana projects using Remotion (code-driven) and Renoise (AI-generated). Use when a user says "marketing video", "product video", "promo video", "deck review", "video pitch", "create a video", or "Remotion project".
7deploy-to-mainnet
Guide a Solana project from devnet to mainnet production deployment. Use when a user says "deploy to mainnet", "go to production", "deployment checklist", "prepare for launch", "mainnet deployment", or "ship it". Reads build-context.md from a prior build phase if available.
7find-next-crypto-idea
Interview users sharply to discover, rank, or validate what they should build in crypto. Use when a user asks what to build in crypto, wants startup ideas in a crypto niche such as DeFi or AI x crypto, wants blunt feedback on an existing crypto idea, or wants a concrete artifact comparing the best next ideas. Treat the bundled idea datasets as inspiration, not constraints, and always combine them with fresh market research.
7