import type { Hono } from 'hono'; import { raw } from 'hono/html'; import { MORE_HTML, PLAN_CSS, PLAN_HTML } from './research-plan'; import { START_HTML } from './start-guide'; import type { AppEnv, User } from '../env'; import { groupName, promptBySlug, PROMPT_GROUPS, PROMPTS, promptsIn, type ReadyPrompt } from '../content/prompts'; import { refreshStale } from '../lib/github'; import { sendOptionsFor } from '../lib/install'; import { KIND_LABEL } from '../lib/points'; import { CATEGORIES, categoryCounts, listSkills, sproutPicks } from '../lib/skills'; import { LIMITS, SEEDS, TIERS, tierFor } from '../lib/tiers'; import { getUserByHandle } from '../lib/users'; import { dateLabel, HttpError, plural, safeUrl, timeAgo } from '../lib/util'; import { heroScene, hillEdge, icon, spot, tierArt } from '../views/art'; import { AgentBadge, Avatar, Copy, Empty, SendToAgent, SkillCard, TierBadge, TierProgress } from '../views/components'; import { render } from '../views/layout'; type Member = Pick & { skills?: number; period_seeds?: number }; const MemberCard = ({ m }: { m: Member }) => (

{m.display_name}

@{m.handle}

{m.seeds_total.toLocaleString('en-US')} Seeds{m.skills != null ? ` · ${plural(m.skills, 'skill')}` : ''}

); /** One ready-made prompt: what it does, the text, and the two ways to hand it to an agent. */ const PromptCard = ({ prompt, bare }: { prompt: ReadyPrompt; bare?: boolean }) => (
{bare ? null :

{prompt.title}

}

{prompt.summary}{prompt.fill ? <> Have ready: {prompt.fill.charAt(0).toLowerCase() + prompt.fill.slice(1)} : null}

{prompt.body}
); export function registerPages(app: Hono) { app.get('/', async (c) => { const user = c.get('user'); // The trending and new rows are for what growers share. Sprout's picks have their own row. const [fresh, trending, newest, allPicks, counts, spotlight] = await Promise.all([ listSkills(c.env, { featured: true, home: true, limit: 3, viewerId: user?.id }), listSkills(c.env, { sort: 'trending', kind: 'hosted', home: true, limit: 6, viewerId: user?.id }), listSkills(c.env, { sort: 'new', kind: 'hosted', home: true, limit: 6, viewerId: user?.id }), sproutPicks(c.env, 12, user?.id), categoryCounts(c.env), c.env.DB.prepare( `SELECT u.id, u.handle, u.display_name, u.avatar_key, u.avatar_fallback, u.seeds_total, u.bio, (SELECT COUNT(*) FROM skills s WHERE s.owner_id = u.id AND s.state = 'live') AS skills FROM users u WHERE u.spotlight_at IS NOT NULL AND u.status = 'active' AND u.is_agent = 0 ORDER BY u.spotlight_at DESC LIMIT 3`, ).all(), ]); refreshStale(c.env, c.executionCtx, [...fresh, ...trending, ...newest, ...allPicks]); const hasSkills = newest.length > 0; // Until growers share skills of their own, Sprout's picks lead the page with a fuller row. const picks = hasSkills ? allPicks.slice(0, 6) : allPicks; const showGrowerRow = hasSkills || !picks.length; // With only a handful of skills the two rows would repeat each other. const showNewest = newest.some((n) => !trending.some((t) => t.id === n.id)); return render( c, { active: 'home' }, <>

Where agent skills grow.

Skillfarm is a curated list of SKILL.md skills for Claude Code, Codex CLI and Gemini CLI, grown by its community. Share what you have built, earn Seeds, and grow a portfolio people can find.

  • {icon('shield', 18)} Curated: a person reviews every shared skill before it goes live
  • {icon('seed', 18)} Free for everyone. Seeds are status, not currency
{heroScene()}
{hillEdge('#E4EFD3')}

How it grows

  1. {spot('plant')}

    Plant

    Share your public GitHub repo. Skillfarm finds every skill in it and scans them, then a person reviews the repo.

  2. {spot('tend')}

    Tend

    Once it is live, others install it, like it, review it and replant it with credit back to you.

  3. {spot('harvest')}

    Harvest

    Each of those earns Seeds. Seeds raise your tier, and higher tiers put your portfolio in front of more people.

{fresh.length ? (

Fresh Harvest

Hand-picked this week from Harvester-tier growers and up.

{fresh.map((s) => )}
) : null} {showGrowerRow ? (

{hasSkills ? 'Trending this week' : 'The first rows are being planted'}

{hasSkills ? See all trending : null}
{hasSkills ? (
{trending.map((s) => )}
) : (

Skillfarm just opened. Share a skill now and yours will be among the first on the farm.

Share the first skill
)}
) : null} {picks.length ? (
Sprout, a small plant in a pot

Sprout's picks

Sprout is the farm's agent. It reads what people are building and recommends skills worth planting. Every pick names its maker and links to their repo.

See all picks
{picks.map((s) => )}
) : null} {!showGrowerRow ? (

Built a skill you use every day? Share it. A person reviews every skill before it goes live.

Share a skill
) : null} {showNewest ? (

Newly planted

See all new skills
{newest.map((s) => )}
) : null} {spotlight.results.length ? (

Grower spotlight

Meet the growers
{spotlight.results.map((m) => )}
) : null}

Six tiers, from Seedling to Blue Ribbon

How Seeds work
    {TIERS.map((t) => (
  1. {tierArt(t.key, 56)}

    {t.name}

    {t.threshold.toLocaleString('en-US')} Seeds

    {t.perk}

  2. ))}
{hillEdge('#3A1F0F')}

Bring Skillfarm into your agent

Skillfarm runs an MCP server. Any agent can search and read skills with no account. Sign in from your MCP client and it can share skills for you too. Submissions still go through review.

Set up MCP
{spot('mcp')}
{raw(`

Organization model

Start your own

Anyone can start their own Skillfarm without asking us, and can give it a different name. Our organization model is open: our designs, research and specs are public domain, free for anyone to use, copy and change.

See every step
`)} , ); }); app.get('/seeds', (c) => render( c, { title: 'How Seeds work', description: 'Seeds are Skillfarm status points. Earn them by sharing skills and by other people installing, liking, reviewing and replanting them.', active: 'seeds' },

How Seeds work

Seeds are status points. You earn them when you add something useful to the farm. They cannot be spent, transferred or cashed out, and nothing on Skillfarm costs money.

Ways to earn

ActionSeeds
Share a skill, once it is approved+{SEEDS.share}
Someone replants your skill+{SEEDS.replant}
Review someone else's skill+{SEEDS.review}
Each new person who installs your skill+{SEEDS.install}
A member likes your skill+{SEEDS.like}

GitHub stars are shown on every skill that lives in a public repo, but they earn no Seeds and do not affect ranking. They describe the whole repo, not one skill.

Tiers

    {TIERS.map((t) => (
  1. {tierArt(t.key, 56)}

    {t.name}

    {t.threshold.toLocaleString('en-US')} Seeds

    {t.perk}.

  2. ))}

Your tier comes from your lifetime Seeds. The leaderboard also has a monthly view, so newer growers have a board they can top.

Fair play

  • Share Seeds arrive only after a skill passes review, once per skill. New versions earn nothing.
  • Installs count once per person per skill, with a daily cap per skill. Installing or replanting your own skill earns nothing.
  • You can review a skill once, in at least {LIMITS.minReviewLength} characters, after your account is {LIMITS.minAccountAgeDays} days old.
  • Likes earn the owner Seeds only from accounts at least {LIMITS.minAccountAgeDays} days old, up to {LIMITS.likeSeedsPerSkillPerDay} a day per skill. Unliking takes the Seed back.
  • If a skill or review is removed, every Seed it generated is reversed. Your tier can drop.
  • Homepage features are picked by a person from eligible growers. They are never automatic.
, ), ); app.get('/connect', (c) => { const site = c.env.SITE_URL; return render( c, { title: 'Connect over MCP', description: 'Skillfarm runs an MCP server. Search and read skills from any agent, and share skills from your own account after you sign in.', active: 'connect' },

Connect your agent over MCP

Skillfarm runs a Model Context Protocol server, so your agent can find and read skills without leaving your editor. Signed-in agents can also share skills for you.

Browse without an account

Read-only. Search, read and download any live skill.

Claude Code

Use your account

Everything above, plus sharing, liking and reviewing as you. Your client opens Skillfarm to sign you in.

Claude Code

What your agent can do

ToolWhat it doesNeeds sign-in
search_skillsSearch live skills by words, category, agent, member, maker, GitHub repo or licence, including Sprout's picksNo
list_categoriesThe categories and agents, with how many skills each category holdsNo
get_promptThe ready-made prompt library: the list, or the full text of one promptNo
get_skillRead a skill's details and its SKILL.mdNo
install_skillThe steps to install a skill for your agent. A skill that lives on GitHub installs straight from its public repoNo
download_skillFetch every file of a skill that Skillfarm holds, exactly as reviewedNo
get_profileLook up a grower and their portfolioNo
leaderboardTop growers, all time or this monthNo
whoamiYour account, Seeds and tierYes
my_skillsYour skills and where each one is in reviewYes
share_skillSubmit a new skill or a new version for reviewYes, write
like_skill, unlike_skillLike or unlike a skillYes, write
review_skillLeave a reviewYes, write

How permissions work

  • An agent can only ever act as the account that signed in. There is no way to write as someone else.
  • Access is scoped. skills:read covers your own account details. skills:write covers sharing, liking and reviewing. You choose what to grant on the consent screen.
  • Nothing an agent submits goes public on its own. Every submission is scanned and then approved or denied by a person, the same as on the website.
  • The same limits apply as on the site: weekly share limits by tier, and hourly limits on likes.
  • You can see and revoke every connected app and token in your settings.

Tokens for scripts

For CI or a client without OAuth support, create a personal access token in settings and send it as a bearer token:

, ); }); app.get('/help', (c) => { const site = c.env.SITE_URL; return render( c, { title: 'Help and setup prompts', description: 'How to install a skill in Claude Code, Codex CLI and Gemini CLI, how Send to agent works, and ready-made prompts that set up your agent the right way.', active: 'help', },

Help

How to get a skill into your agent, and ready-made prompts that set your agent up well. Every prompt here asks before it changes anything.

Install a skill

Every skill page has a Send to agent button. Pick your agent once and Skillfarm remembers it in this browser. The button hands your agent a short prompt: read the skill, say what it does, install it, check it. Nothing runs until you send that prompt yourself.

AgentWhat the button doesWhere skills live
Claude CodeOpens Claude Code in a terminal with the prompt typed in~/.claude/skills
Codex CLIOpens the Codex app with the prompt typed in. In the CLI, paste the copied prompt~/.agents/skills
Gemini CLICopies the prompt for you to paste~/.agents/skills or ~/.gemini/skills

You can also copy the install command from the skill page and run it yourself, or download the files. A skill is only a folder with a SKILL.md file in it, so installing one means putting that folder where your agent looks.

The Claude Code link works once you have sent at least one prompt in Claude Code on this machine. That is when it registers itself to open such links.

Keep your own skills repo

Our one recommendation: keep your skills in a single Git repository of your own, and link it into every agent you use. You get one copy instead of three, a history of every change, and a new machine set up with one clone. Skills you install from Skillfarm go into the same place.

Give your agent this prompt and it will set that up with you:

p.slug === 'own-skills-repo')!} bare />

Ready-made prompts

Copy one, or send it straight to your agent. Text in [square brackets] is for you to fill in. These are the ones for setting up. The prompt library has all {PROMPTS.length}.

{PROMPT_GROUPS.filter((g) => g.key === 'setup' || g.key === 'skills').map((g) => (

{g.name}

{g.blurb}

{promptsIn(g.key).filter((p) => p.slug !== 'own-skills-repo').map((p) => )}
))}

See every prompt

Questions

What is a skill?

A folder with a SKILL.md file: a name, a description, and instructions your agent loads when a task matches. Some skills add scripts or reference files. Claude Code, Codex CLI and Gemini CLI all read the same format.

Is it safe to install a skill from here?

A person reviews every skill a member shares before it goes live. Sprout's picks are different: they are recommendations that link to the maker's own repo, and Skillfarm has not reviewed their text. In both cases a skill runs with your agent's permissions, so read it first. The prompt Check a skill before you install it does that reading with you.

Does one install work for all my agents?

Codex CLI and Gemini CLI both read ~/.agents/skills, so one copy there serves both. Claude Code reads ~/.claude/skills. With your own skills repo linked into both folders, one copy serves all three.

Send to agent did nothing. What now?

The button also copies the prompt, so paste it into your agent. For Claude Code, send any prompt in a terminal session once, then try the button again. For Codex, the link opens the desktop app. Gemini CLI has no such link, so its button always copies.

How do I update or remove a skill?

To remove one, delete its folder. To update one you installed with npx skills, run npx skills update. If you keep your own skills repo, pull it. Agents pick up changes in a new session.

Can my agent search Skillfarm itself?

Yes. Connect it over MCP and it can search by words, category, maker or licence, and fetch the install steps for any skill.

Something is wrong with a skill. Who do I tell?

Sign in and use Report on the skill's page.

Page address for your agent: {site}/help

, ); }); app.get('/prompts', (c) => render( c, { title: 'Prompts', description: `A library of ${PROMPTS.length} ready-made prompts for Claude Code, Codex CLI and Gemini CLI: agent setup, working with skills, building and fixing, and good habits. Copy one or send it to your agent.`, active: 'prompts', },

Prompts

Ready-made prompts, kept by Skillfarm. Each one reads the same in Claude Code, Codex CLI and Gemini CLI, and makes the agent ask before it changes anything. Copy one, or send it straight to your agent.

{PROMPT_GROUPS.map((g) => (

{g.name}

{g.blurb}

{promptsIn(g.key).map((p) => ( ))}
))}

A prompt is a starting point. Skills are the lasting version: when you find yourself sending the same prompt often, turn it into a skill.

, ), ); app.get('/prompts/:slug', (c) => { const prompt = promptBySlug(c.req.param('slug')); if (!prompt) throw new HttpError(404, 'That prompt was not found.'); const more = promptsIn(prompt.group).filter((p) => p.slug !== prompt.slug).slice(0, 4); return render( c, { title: prompt.title, description: prompt.summary, active: 'prompts' },

Prompts / {groupName(prompt.group)}

{prompt.title}

{prompt.summary}

{prompt.fill ?

Have ready: {prompt.fill.charAt(0).toLowerCase() + prompt.fill.slice(1)} It goes where the prompt has [square brackets].

: null}
{prompt.body}

Works in Claude Code, Codex CLI and Gemini CLI. Your agent can also fetch it over MCP as {prompt.slug}.

{more.length ? ( <>

More in {groupName(prompt.group)}

) : null}
, ); }); app.get('/guidelines', (c) => render( c, { title: 'Guidelines and safety', description: 'What belongs on Skillfarm, how the list is curated, with every shared skill reviewed before it goes live, and how to report a problem.' },

Guidelines and safety

A skill is a set of instructions an agent will follow on someone's machine. That is a lot of trust, so Skillfarm is a curated list: nothing a member shares goes live until it has been checked.

How review works

  1. Pattern scan. Every file is checked for known risky patterns: piping downloads into a shell, reading credential files, hidden characters, encoded payloads and instructions that tell an agent to hide things from its user.
  2. AI review. Claude reads the whole submission, summarizes what it does, lists anything unsafe or dishonest, and recommends approving or denying it.
  3. A person decides. A moderator reads the submission with both reports and approves or denies it. You get an email either way.

Updates to a live skill go through the same review. The approved version stays up until the new one is approved.

Sprout's picks are different

Sprout is the Skillfarm agent. It recommends skills that other people made and keep in their own repos. A pick is marked "Sprout's pick", names its maker, and links to the maker's repo. Skillfarm hosts no copy of it and has not reviewed its files, and the maker can change it at any time. Treat a pick as a pointer to something worth reading, and read it at the source before you install it.

If you made a skill that Sprout picked and want the pick changed or taken down, use Report on its page. You can also share the skill yourself, and it will be listed under your name.

What belongs here

  • Skills in the SKILL.md format, with any text files they need: scripts, references, templates.
  • Work you wrote, or work whose license lets you share it. To build on someone else's skill, use Replant so they get credit.
  • Honest descriptions. A skill should do what it says and nothing else.

What gets denied or removed

  • Anything that leaks secrets, damages files, installs something persistent, or downloads and runs code the reader cannot see.
  • Instructions that turn an agent against the person using it, such as hiding actions or skipping their approval.
  • Spam, ads, empty placeholders, and copies of other people's skills passed off as your own.
  • Attempts to game Seeds with fake accounts, likes or installs.

Removed skills lose the Seeds they earned. Repeated or serious violations lead to strikes and bans.

Before you install any skill

Review lowers risk. It does not remove it. Read a skill before you install it, the same way you would read a script before running it. Every skill page shows every file.

Reporting a problem

Every skill, review and profile has a Report link. Sign in, say what is wrong, and a moderator will look at it.

, ), ); // Step-by-step "Start your own" guide (generated: hosting-research tools/start-gen/external.py --ts skillfarm.ai). app.get('/start/', (c) => c.redirect('/start', 301)); app.get('/start', (c) => render( c, { title: 'Start your own', description: 'Anyone, anywhere in the world, can start their own Skillfarm. Every step, in order.' },
{raw(START_HTML)}
, ), ); app.get('/research', (c) => render( c, { title: 'Research', description: 'Public research on AI agents, skills and their safety, summarized in plain words with links to every source.' },

Research

Public research on AI agents, skills and safety. We summarize it in our own words and link every original source so you can read it yourself.

{raw(PLAN_HTML)}

The research

  1. OWASP Top 10 for Large Language Model Applications

    OWASP Gen AI Security Project · 2025

    A public list of the biggest security risks in AI apps, led by prompt injection: hidden instructions in text an agent reads. It is the reason we ask everyone to read a skill before installing it.

  2. Equipping agents for the real world with Agent Skills

    Anthropic Engineering · 2025

    Explains skills as folders of instructions, scripts and files an agent loads only when needed, and warns to install skills only from trusted sources and to audit them first.

  3. The Impact of AI on Developer Productivity: Evidence from GitHub Copilot

    Peng et al., arXiv · 2023

    In a controlled test, programmers with an AI pair helper finished a well-defined task about half again as fast. Clear, reusable instructions are where AI help shines.

  4. Measuring the impact of early-2025 AI on experienced open-source developer productivity

    METR · 2025

    Experienced developers in their own large projects were slower with AI tools than without, even though they felt faster. Good skills should be measured, not assumed.

{raw(MORE_HTML)}

Our summaries are public domain (CC0): copy and share them freely. Each original source belongs to its authors. Updated December 2026.

, ), ); app.get('/privacy', (c) => render( c, { title: 'Privacy', description: 'What Skillfarm stores about you and why.' },

Privacy

Skillfarm keeps as little about you as it can. This page lists all of it.

What is stored when you sign in

  • Your provider account id from GitHub or Google, so the same account signs you in next time.
  • Your verified email address. It is used only to send notices about your skills and account, such as approved or denied. It is never shown on the site and never shared. You can turn notices off in settings.
  • From GitHub only: your public username, public display name and public avatar, to start your profile. You can change or replace all three.
  • From Google: nothing else. Your Google name and photo are not stored.

There are no passwords. Skillfarm never asks GitHub for access to your repositories.

What you add yourself

Your handle, display name, bio, website, avatar, skills, reviews and likes. Profiles and live skills are public.

Sessions and tokens

Signing in sets one cookie that holds a random session token. Only a hash of it is stored. The same is true of personal access tokens and MCP tokens. Signing out, or revoking a token in settings, deletes it.

Installs

To count an install once per person, Skillfarm stores a salted one-way hash of the installer's IP address and browser string. The IP address itself is not stored.

Review

Skills you submit are sent to Anthropic's Claude API for an automated safety review before a moderator reads them. Only the skill's files and its listing title are sent.

Analytics

The site uses Google Analytics to count page views.

Deleting your account

You can delete your account in settings. That removes your profile, email, sign-in links, sessions and tokens, and takes your skills down.

, ), ); app.get('/leaderboard', async (c) => { const period = c.req.query('period') === 'month' ? 'month' : 'all'; let rows: Member[]; if (period === 'month') { const d = new Date(); const start = Math.floor(Date.UTC(d.getUTCFullYear(), d.getUTCMonth(), 1) / 1000); rows = ( await c.env.DB.prepare( `SELECT u.id, u.handle, u.display_name, u.avatar_key, u.avatar_fallback, u.seeds_total, u.bio, SUM(p.amount) AS period_seeds FROM point_events p JOIN users u ON u.id = p.user_id WHERE p.created_at >= ? AND u.status = 'active' AND u.is_agent = 0 GROUP BY u.id HAVING period_seeds > 0 ORDER BY period_seeds DESC, u.created_at ASC LIMIT 50`, ).bind(start).all() ).results; } else { rows = ( await c.env.DB.prepare( `SELECT id, handle, display_name, avatar_key, avatar_fallback, seeds_total, bio FROM users WHERE status = 'active' AND is_agent = 0 AND seeds_total > 0 ORDER BY seeds_total DESC, created_at ASC LIMIT 50`, ).all() ).results; } const monthName = new Date().toLocaleDateString('en-US', { month: 'long', timeZone: 'UTC' }); return render( c, { title: 'Leaderboard', description: 'The growers with the most Seeds on Skillfarm, all time and this month.', active: 'leaderboard' },

Leaderboard

Growers ranked by Seeds. Lifetime Seeds set your tier. The monthly board resets on the first.

{rows.length ? (
    {rows.map((m, i) => (
  1. {i + 1} {m.display_name} @{m.handle} {(period === 'month' ? m.period_seeds ?? 0 : m.seeds_total).toLocaleString('en-US')} Seeds
  2. ))}
) : (

Share a skill and your name goes on it.

Share a skill
)}
, ); }); app.get('/growers', async (c) => { const farmer = TIERS[2].threshold; const ribbon = TIERS[5].threshold; const rows = ( await c.env.DB.prepare( `SELECT u.id, u.handle, u.display_name, u.avatar_key, u.avatar_fallback, u.seeds_total, u.bio, (SELECT COUNT(*) FROM skills s WHERE s.owner_id = u.id AND s.state = 'live') AS skills FROM users u WHERE u.status = 'active' AND u.is_agent = 0 AND u.seeds_total >= ? ORDER BY u.seeds_total DESC LIMIT 120`, ).bind(farmer).all() ).results; const hall = rows.filter((r) => r.seeds_total >= ribbon); const rest = rows.filter((r) => r.seeds_total < ribbon); return render( c, { title: 'Growers', description: 'The Skillfarm growers directory: members who have reached Farmer tier and above, and the Blue Ribbon hall of fame.', active: 'growers' },

Growers

Members who have reached Farmer tier ({farmer} Seeds) are listed here. Blue Ribbon growers stay in the hall of fame for good.

{hall.length ? ( <>

Hall of fame

{hall.map((m) => )}
) : null} {rest.length ? ( <>

Directory

{rest.map((m) => )}
) : null} {!rows.length ? (

The directory opens at {farmer} Seeds. Sharing a skill earns {SEEDS.share}, and installs, likes and replants add to it.

See how Seeds work
) : null}
, ); }); app.get('/u/:handle', async (c) => { const viewer = c.get('user'); const member = await getUserByHandle(c.env, c.req.param('handle')); if (!member || member.status !== 'active') throw new HttpError(404, 'That grower was not found.'); if (member.is_agent) { const picks = await listSkills(c.env, { ownerId: member.id, sort: 'top', limit: 400, viewerId: viewer?.id }); refreshStale(c.env, c.executionCtx, picks); const groups = CATEGORIES.map((cat) => ({ cat, items: picks.filter((p) => p.category === cat.key) })).filter((g) => g.items.length); const makers = new Set(picks.map((p) => p.maker)).size; return render( c, { title: 'Sprout, the Skillfarm agent', description: `Sprout is the Skillfarm agent. It recommends ${picks.length} skills from around the web, each with credit and a link to its maker.` },

{member.display_name}

@{member.handle}

{member.bio}

Browse and search the picks
  • {picks.length}{picks.length === 1 ? 'Pick' : 'Picks'}
  • {makers}{makers === 1 ? 'Maker' : 'Makers'} credited
  • {groups.length}Categories
{groups.length ? ( groups.map((g) => (
{g.items.map((s) => )}
)) ) : (

Sprout has not recommended anything yet.

)}
, ); } const own = viewer?.id === member.id; const admin = !!viewer?.is_admin; const [live, mine, stats, gh, events] = await Promise.all([ listSkills(c.env, { ownerId: member.id, sort: 'top', limit: 60, viewerId: viewer?.id }), own || admin ? listSkills(c.env, { ownerId: member.id, states: ['pending', 'rejected', 'hidden'], sort: 'updated', limit: 30 }) : Promise.resolve([]), c.env.DB.prepare("SELECT COALESCE(SUM(likes_count),0) AS likes, COALESCE(SUM(installs_count),0) AS installs FROM skills WHERE owner_id = ? AND state = 'live'").bind(member.id).first<{ likes: number; installs: number }>(), c.env.DB.prepare("SELECT login FROM oauth_accounts WHERE user_id = ? AND provider = 'github' AND login IS NOT NULL LIMIT 1").bind(member.id).first<{ login: string }>(), own ? c.env.DB.prepare('SELECT kind, amount, created_at FROM point_events WHERE user_id = ? ORDER BY created_at DESC LIMIT 12').bind(member.id).all<{ kind: string; amount: number; created_at: number }>() : Promise.resolve(null), ]); refreshStale(c.env, c.executionCtx, live); const tier = tierFor(member.seeds_total); const site = safeUrl(member.website); return render( c, { title: `${member.display_name} (@${member.handle})`, description: member.bio || `${member.display_name} is a ${tier.name} on Skillfarm with ${plural(live.length, 'skill')}.` },

{member.display_name}

@{member.handle}

{member.bio ?

{member.bio}

: own ?

Add a short bio in settings so people know what you build.

: null} {own ? Edit profile : null}
  • {live.length}{live.length === 1 ? 'Skill' : 'Skills'}
  • {(stats?.likes ?? 0).toLocaleString('en-US')}Likes received
  • {(stats?.installs ?? 0).toLocaleString('en-US')}Installs
{mine.length ? (

{own ? 'Your submissions' : 'Not public'}

{mine.map((s) => )}
) : null}

Portfolio

{live.length ? (
{live.map((s) => )}
) : ( {own ? ( <>

Share your first skill. It earns {SEEDS.share} Seeds once it is approved.

Share a skill ) : (

This grower has not shared a skill yet.

)}
)}
{own && events ? (

Recent Seeds

{events.results.length ? (
    {events.results.map((e) => (
  • {KIND_LABEL[e.kind] ?? e.kind} {e.amount > 0 ? `+${e.amount}` : e.amount}
  • ))}
) : (

No Seeds yet. They arrive when your first skill is approved.

)}
) : null} {viewer && !own ? (
{icon('flag', 15)} Report this profile
) : null}
, ); }); }