Skip to content
Agentmart
Submit a tool

onboard

First-run project setup that detects tech stack, selects quality packs, and generates .sage/ directory with CLAUDE.md.

Skill by xoai

IndexedMIT★ 30
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/xoai-onboard

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

First-run project setup that detects tech stack, selects quality packs, and generates .sage/ directory with CLAUDE.md. For new projects, guides technology selection. Use when no .sage/ directory exists, when the user says "set up sage", "initialize", "get started", or when starting a brand new project from scratch.

Use cases: design

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/onboard

What's inside

Skill name
onboard
Description
First-run project setup that detects tech stack, selects quality packs, and generates .sage/ directory with CLAUDE.md. For new projects, guides technology selection. Use when no .sage/ directory exists, when the user says "set up sage", "initialize", "get started", or when starting a brand new project from scratch.
License
MIT
Instructions
278 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

<!-- sage-metadata
cost-tier: sonnet
activation: manual
tags: [setup, onboarding, initialization, context]
inputs: [codebase-or-nothing]
outputs: [sage-directory, claude-md, conventions]
-->

# Onboard

Set up Sage for a project. Detect what exists, configure what's needed,
generate the agent instructions. This is the FIRST thing that runs.

**Core Principle:** A beginner should go from "I have a project" (or "I have
an idea") to "Sage is configured and ready" in under 3 minutes.

## When to Use

- First time using Sage on a project (no `.sage/` directory exists)
- User says "set up sage", "onboard", "initialize", or "get started"
- Sage detects no `.sage/` directory and prompts: "This project isn't set up
  with Sage yet. Want me to set it up? (Takes ~2 minutes)"

## Process

### Step 0: Detect Project State

Check what exists:
- Does `.sage/` exist? → Already onboarded. Offer to re-scan or update.
- Does `package.json` / `requirements.txt` / `pubspec.yaml` exist? → Existing project.
- Is the directory empty or near-empty? → New project (greenfield).

Branch accordingly:

---

### Path A: Existing Project

#### A1. Scan the Stack

Read dependency files to detect the tech stack:

```
package.json  → detect: next, react, vue, svelte, express, supabase, firebase
pubspec.yaml  → detect: flutter, firebase
requirements.txt / pyproject.toml → detect: django, flask, fastapi
go.mod → detect: gin, echo, fiber
```

Produce a stack summary:
```
DETECTED STACK:
  Frontend: Next.js 14 (App Router), React 19, Tailwind CSS 4
  Backend:  Supabase (@supabase/ssr, @supabase/supabase-js)
  Testing:  Vitest, Testing Library
  Build:    Turbopack
```

Show to user: "I detected this stack. Anything I missed or got wrong?"

#### A2. Select Packs

Based on detected stack, select which packs activate:

```
PACKS TO LOAD:
  L1: web (web application detected)
  L1: baas (Supabase detected)
  L2: nextjs (Next.js detected)
  L2: react (React detected)
  nextjs surfaces integration/supabase-integration.md (Supabase detected)
```

Show to user: "These packs will guide code quality. Look right?"

#### A3. Discover Conventions

Scan the codebase for established patterns:
- File naming (kebab-case? PascalCase? camelCase?)
- Component structure (co-located files? flat directories?)
- State management approach
- Test patterns and locations
- Import style (absolute? relative? aliases?)
- Formatting (Prettier? ESLint config?)

Save to `.sage/conventions.md`.

#### A4. Generate Configuration

Create the `.sage/` directory and all files. See [Output](#output) below.

---

### Path B: New Project (Greenfield)

#### B1. Ask What They're Building

One question: **"What are you building? Describe it in a sentence or two."**

Examples of what they might say:
- "A task management app for my team"
- "An e-commerce site for my bakery"
- "A mobile app for tracking workouts"
- "A SaaS dashboard for analytics"

#### B2. Guide Tech Stack Selection

Based on what they described, recommend a stack. Ask focused questions:

**Question 1: Platform**
"Is this a web app, mobile app, or both?"
- Web only → React/Next.js path
- Mobile only → Flutter or React Native path
- Both → Next.js (web) + React Native (mobile) or Flutter (both)

**Question 2: Backend complexity**
"Will this need complex backend logic (custom algorithms, complex queries, multi-step workflows), or is it mostly storing/fetching data with user accounts?"
- Mostly CRUD + auth → Supabase or Firebase (BaaS path)
- Complex backend → Custom API (Express/Django + database)

From xoai/sage, MIT.

More from xoai/sage

Signals

Stars
30
Forks
7
Open issues
0
Last commit (this folder)
Jul 11, 2026 (3 months ago)
Last release
Sep 28, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from xoai

Cite this page

onboard skill. Agent Mart. https://agentmart.dev/skills/xoai-onboard (last updated 2026-10-24)