Skip to content
Agentmart
Submit a tool

setup

Walk a new user through standing up the Fleet Agent end to end: prerequisites (Motive API key, Tesseract), the Entra app for the shared mailbox, the `.env`…

Skill by taymac

IndexedMIT
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/taymac-setup

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

Walk a new user through standing up the Fleet Agent end to end: prerequisites (Motive API key, Tesseract), the Entra app for the shared mailbox, the `.env`, config.toml, the brand spec, and a first dry run. Use when someone has just cloned this repo and asks "how do I set this up", "get me started", or runs /setup.

Use cases: design, backend, agent-building

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. 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/setup

Tools it pre-approves 3

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Read,
  • Bash,
  • Edit

What's inside

Skill name
setup
Description
Walk a new user through standing up the Fleet Agent end to end: prerequisites (Motive API key, Tesseract), the Entra app for the shared mailbox, the `.env`, config.toml, the brand spec, and a first dry run. Use when someone has just cloned this repo and asks "how do I set this up", "get me started", or runs /setup.
License
MIT
Allowed tools
Read,, Bash,, Edit
Instructions
69 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves some shell commands

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Setup — Stand Up the Fleet Agent

Walk the user through a working install one step at a time, pausing to confirm each integration is live before moving on. Don't dump the whole list at once.

The agent pulls from **Motive (GoMotive)** telematics and sends/receives as a **shared mailbox** via a Microsoft Entra app. Both are required; two companion inputs (employee roster, project index) are optional.

## Step 0 — Prerequisites

- **Python 3.12+** and the deps: `pip install -r requirements.txt`.
- **The Tesseract binary** for OCR of scanned invoices/inspections (the `pytesseract` package needs it): `winget install --id UB-Mannheim.TesseractOCR` (Windows) / `apt-get install tesseract-ocr` / `brew install tesseract`. Without it, ingest still runs but queues scanned docs for manual handling.
- **A Motive (GoMotive) account** with an admin **read** API key.
- **A Microsoft 365 tenant** where you (or an admin) can create an app registration, and a **shared mailbox** the agent will act as (e.g. `fleet@yourco.com`).

## Step 1 — Config + secrets

```bash
cp config.example.toml config.toml         # non-secret runtime values
cp .env.example ~/.fleet-agent/.env        # secrets (or set FLEET_ENV)
cp brand/brand.example.yml brand/brand.yml
```

Fill in `config.toml`: `[paths].home`/`publish_dir`, `[email].mailbox` + `recipients`, `[site]` yard coordinates, `[inspections]` SharePoint IDs (Step 4). Fill in `.env`: `MOTIVE_API_KEY`, `FLEETAGENT_TENANT_ID/CLIENT_ID/CLIENT_SECRET`. Leave the optional `[paths].nance_users`/`kbnt_projects` commented unless you have those inputs.

## Step 2 — Motive check

```bash
python scripts/check_motive.py     # confirms the Motive key + lists a few assets
```

## Step 3 — Entra app + mailbox sign-in

Create an Entra app with delegated `Mail.ReadWrite` + `Mail.Send` (and application access as needed), admin-consent, and put the IDs in `.env`. Then seed the mailbox token cache:

```bash
python scripts/fleet_signin.py     # device code — sign in AS the mailbox (config [email].mailbox)
python scripts/check_fleet_auth.py # verifies the signed-in identity matches the configured mailbox
```

## Step 4 — Inspections list (optional, if you use SharePoint pre-use inspections)

Find the site + list via Graph (`GET /sites?search=...`, then `/sites/{id}/lists`) and put the IDs in `config.toml [inspections]`.

## Step 5 — Brand

Set `brand/brand.yml` (`meta.name`, primary/secondary colors); drop your logo at `brand/assets/logo.svg`.

## Step 6 — First dry run

```bash
python scripts/run_pipeline.py             # stage-only, no email (safe)
python scripts/run_pipeline.py --report    # also build the reports locally
```
Review the output, then go live with `/fleet-report` (pipeline + send) once it looks right.

## Step 7 — The rhythm (hand off to the other skills)

- `/fleet-pipeline` — the daily run (no email).
- `/fleet-report` — the weekly run + send.
- `/fleet-publish` — publish per-asset records to the shared folders.
- `/fleet-health` — Motive + mailbox auth checks.

## Safety notes to surface

- Motive access is **read-only**; the agent never writes to Motive.
- Secrets live only in `.env` (gitignored, outside the repo); `config.toml` is gitignored too. Never commit either.
- `paths.guard_live()` blocks live side-effects unless run from the configured `[paths].home` (`FLEET_ALLOW_ANY=1` overrides for a sandbox).
- Always dry-run (`run_pipeline.py` without `--live`) before the first live send.

From taymac/fleet-agent, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jul 4, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from taymac

Cite this page

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