New:Socket for Asana Is Now Available.Learn more
Get Started

frontier-os-app-builder

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frontier-os-app-builder

Meta-prompting framework for building Frontier OS apps with Claude Code

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

Frontier OS App Builder

npm version

A meta-prompting framework for building Frontier OS apps with Claude Code. Provides a guided workflow from idea to deployed app, with built-in knowledge of the Frontier SDK, app patterns, and deployment requirements.

Prerequisites

  • Claude Code installed
  • Node.js 18+

Install

npx frontier-os-app-builder

That's it. This installs /fos:* commands into your Claude Code environment.

Running npx frontier-os-app-builder executes the installer automatically. If you install globally instead (npm i -g frontier-os-app-builder), run frontier-os-app-builder once afterward to populate ~/.claude.

To uninstall:

npx frontier-os-app-builder --uninstall

Quick Start

  • Create a directory for your new app
  • Open Claude Code in that directory
  • Run:
/fos:new-app "A tip jar app where members can tip baristas and staff with FND"
  • Follow the guided workflow — the framework tells you what to do next after each step:
/fos:new-app "description"     → gather requirements, infer SDK modules, create roadmap
  /clear
/fos:discuss 1                  → discuss gray areas for phase 1
  /clear
/fos:plan 1                     → research existing apps + create execution plans
  /clear
/fos:execute 1                  → build the app + auto-verify
  /clear
  ... repeat for each phase ...
/fos:ship                       → deploy to Vercel + register in app store
  • Keep building — add features or start a new version:
/fos:add-feature "leaderboard"  → adds a new phase to the current milestone
  /clear
/fos:discuss N → /fos:plan N → /fos:execute N   → same loop

/fos:new-milestone "v2 features" → archives v1, creates new phases for v2

Commands

CommandPurpose
/fos:new-appCreate a new Frontier OS app from a natural language description
/fos:discuss NDiscuss gray area decisions for phase N
/fos:plan NResearch patterns + create execution plans for phase N
/fos:execute NBuild phase N with auto-verification
/fos:shipDeploy to Vercel and register in Frontier app store
/fos:new-milestoneStart a new version (v2, v3...) with additional features
/fos:add-featureAdd a feature as a new phase to the current milestone
/fos:nextAuto-route to the next step in the workflow
/fos:statusShow current project state

Configuration

Environment variableUsed byEffect
FOS_GITHUB_ORG/fos:shipCreates the deployed app's GitHub repo under this organization. When unset (the default), the repo is created under your authenticated gh user account.

How it works

The framework is a multi-layered meta-prompting system:

  • Commands — thin entry points that reference workflows
  • Workflows — orchestration logic that spawns specialized agents
  • Agents — fresh-context workers (researcher, planner, executor, verifier)
  • References — built-in Frontier SDK and app pattern knowledge
  • Templates — production-tested boilerplate from existing Frontier OS apps

Each command reads state from .frontier-app/ on disk, does its work, writes updated state, and tells you what to do next. Running /clear between steps keeps your context window fresh — the file-based state bridges the gap.

Key features

  • Module inference — describe your app in plain English and the framework maps it to the right SDK modules ("room booking" → Events + Wallet + User)
  • Smart questions — asks domain questions ("Should bookings require FND payment?"), not technical ones ("Which SDK modules?")
  • Production templates — boilerplate extracted from real Frontier OS apps, not generated from scratch
  • Frontier-specific verification — checks CORS origins, iframe detection, standalone fallback, SDK permissions, dark theme
  • Milestones — iterative development with /fos:new-milestone for v2, v3, and beyond

Frontier Studio

Frontier Studio is a live companion dashboard that runs alongside Claude Code. It watches your .frontier-app/ state files and shows a visual dashboard with a live app preview in your browser.

cd your-app-directory
npx frontier-studio

Opens http://localhost:4983 with:

  • Project dashboard — phases, status, SDK modules, progress, next action
  • Live preview — your app rendered via Vite HMR in an iframe (desktop/tablet/mobile)
  • Activity stream — file changes, git commits, phase transitions in real time

See studio/README.md for development details.

SDK Coverage

The framework has built-in knowledge of all 10 Frontier SDK modules:

ModuleWhat it does
WalletBalances, FND transfers, token swaps, fiat on/off-ramp
UserProfiles, referrals, KYC, access controls
EventsEvent management, room listings, bookings
CommunitiesCommunity management, internship passes
PartnershipsSponsor passes
OfficesBuilding access passes
StoragePersistent key-value storage
ChainNetwork config, contract addresses
ThirdPartyApp registration, webhooks, developer accounts
NavigationApp-to-app deep linking

Project State

All state lives in .frontier-app/ as human-readable Markdown and JSON — no database, no server:

.frontier-app/
├── PROJECT.md          — app vision, modules, constraints
├── REQUIREMENTS.md     — features with IDs
├── ROADMAP.md          — phases with status
├── STATE.md            — current position (bridges /clear)
├── manifest.json       — machine-readable app metadata
└── phases/
    ├── 01-scaffold/    — plans, summaries, verification
    ├── 02-feature/
    └── ...

Example Apps

Ideas to get started:

AppDescriptionSDK Modules
Tip JarMembers tip baristas with FNDWallet, User
Visitor Check-inKiosk for building access passesOffices, User
Room BookingBook coworking rooms with paymentEvents, Wallet, User
Event OrganizerCreate and manage community eventsEvents, Communities, User
Sponsor DashboardManage partnership passesPartnerships, User

License

MIT

Keywords

frontier-os

FAQs

Package last updated on 15 Jun 2026

Related posts