Chalk Labs
Need help deploying bootstrap?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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/oxy-hq-bootstrap
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.
About
Use cases: backend
Reviews
Write a reviewNo 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 26, 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/bootstrap
What's inside
- Skill name
bootstrap- Description
- Bootstrap a semantic layer from a database. Use when the user wants to create .view.yml files from their warehouse schema, or when starting a new airlayer project from scratch.
- License
- Apache-2.0
- Instructions
- 174 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Bootstrap a Semantic Layer
You are bootstrapping a semantic layer for airlayer. This means discovering what's in the user's database and generating `.view.yml` files that define dimensions, measures, and entities.
## Prerequisites
The user needs a `config.yml` with database connection details. If they don't have one, help them create it. The format is:
```yaml
databases:
- name: <name>
type: <postgres|snowflake|bigquery|duckdb|motherduck|gsheets|mysql|clickhouse|databricks|sqlite>
# ... connection fields vary by type (see docs/agent-execution.md)
```
MotherDuck example:
```yaml
databases:
- name: cloud
type: motherduck
token_var: MOTHERDUCK_TOKEN
database: my_db
```
Google Sheets example (each entry under `sheets` becomes a queryable table):
```yaml
databases:
- name: sheets
type: gsheets
token_var: GSHEET_TOKEN # Google OAuth access token
# key_file: ./service-account.json # or a service-account JSON key
sheets:
orders: https://docs.google.com/spreadsheets/d/SPREADSHEET_ID
customers: # detailed form selects a tab/range
url: https://docs.google.com/spreadsheets/d/SPREADSHEET_ID
sheet: Customers
range: A1:F500
```
airlayer must be built with executor support: `cargo build --features exec` (or a specific driver like `exec-postgres`).
## Workflow
### Step 1: Introspect the schema
Run schema introspection to discover all tables, columns, and types:
```bash
airlayer inspect --schema --config <config.yml>
```
Optionally filter to a specific schema/dataset:
```bash
airlayer inspect --schema <schema_name> --config <config.yml>
```
This returns JSON with every table and column. Read the output carefully — it's your source of truth for what's available.
### Step 2: Ask the user which tables to model
Present the discovered tables to the user and ask which ones they want in the semantic layer. Don't model everything — focus on the tables they care about for analytics.
### Step 3: Generate .view.yml files
For each selected table, create a `.view.yml` file in the project directory. Follow these rules:
**Dimensions** (attributes to group/filter by):
- String columns → `type: string`
- Date columns → `type: date`
- Datetime/timestamp columns → `type: datetime`
- Boolean columns → `type: boolean`
- Numeric columns used for grouping (IDs, codes) → `type: string` or `type: number`
**Measures** (aggregations):
- Row count → `type: count` (no expr needed)
- Unique counts → `type: count_distinct` with `expr: <column>`
- Sums → `type: sum` with `expr: <column>`
- Averages → `type: average` with `expr: <column>`
- Computed measures → `type: sum` with `expr: "quantity * price"` etc.
**Entities** (join keys):
- Primary keys → `type: primary`, `key: <column>`
- Foreign keys → `type: foreign`, `key: <column>`
- Name entities after the concept they represent (e.g., `customer`, `order`), not the column name
**Naming conventions**:
- `name:` should be snake_case, semantic (e.g., `total_revenue` not `sum_amount`)
- `expr:` is the raw SQL expression — reference actual column names from the schema
- `description:` add for any non-obvious measures or computed fields
Example view:
```yaml
name: orders
description: "Sales orders with customer and product data"
dialect: postgres
datasource: warehouse
table: public.orders
entities:
- name: customer
type: foreign
key: customer_id
dimensions:
- name: order_id
type: string
expr: order_id
- name: status
type: string
expr: status
- name: created_at
type: datetime
expr: created_at
measures:
- name: order_count
type: countFrom oxy-hq/airlayer, Apache-2.0.
More from oxy-hq/airlayer
- 0.611score
migrate-from-cube
oxy-hq
Migrate a Cube.js semantic layer to airlayer .view.yml files.
SkillBFreshness: B★ 31Claude Code +9 - 0.611score
profile
oxy-hq
Profile dimensions in the semantic layer to discover data values, ranges, and cardinality.
SkillBFreshness: B★ 31Claude Code +9 - 0.611score
query
oxy-hq
Run a semantic query against the database via airlayer.
SkillBFreshness: B★ 31Claude Code +9 - 0.607score
query
oxy-hq
Compile a semantic query to SQL using airlayer.
SkillBFreshness: B★ 31Claude Code +9 - 0.607score
validate
oxy-hq
Validate .view.yml semantic layer files using airlayer.
SkillBFreshness: B★ 31Claude Code +9 - 0.607score
inspect
oxy-hq
Inspect semantic layer views, dimensions, measures, and entities.
SkillBFreshness: B★ 31Claude Code +9
Signals
- Stars
- 31
- Forks
- 5
- Open issues
- 14
- Last commit (this folder)
- Jun 10, 2026 (4 months ago)
- Last release
- Sep 2, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/oxy-hq/airlayer
- Website
- airlayer.sh
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from oxy-hq
- 0.611score
migrate-from-cube
oxy-hq
Migrate a Cube.js semantic layer to airlayer .view.yml files.
SkillBFreshness: B★ 31Claude Code +9 - 0.611score
profile
oxy-hq
Profile dimensions in the semantic layer to discover data values, ranges, and cardinality.
SkillBFreshness: B★ 31Claude Code +9 - 0.611score
query
oxy-hq
Run a semantic query against the database via airlayer.
SkillBFreshness: B★ 31Claude Code +9 - 0.607score
query
oxy-hq
Compile a semantic query to SQL using airlayer.
SkillBFreshness: B★ 31Claude Code +9 - 0.607score
validate
oxy-hq
Validate .view.yml semantic layer files using airlayer.
SkillBFreshness: B★ 31Claude Code +9 - 0.607score
inspect
oxy-hq
Inspect semantic layer views, dimensions, measures, and entities.
SkillBFreshness: B★ 31Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get bootstrap running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
bootstrap skill. Agent Mart. https://agentmart.dev/skills/oxy-hq-bootstrap (last updated 2026-10-24)