Agent skill
fft-setup
Setup and bootstrap FFT_nano on macOS or Linux, including container runtime checks, dependency install/build, env wiring for Pi provider credentials, and first-run startup validation.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/fft-setup
SKILL.md
FFT Setup
Use this skill when the task is to install, bootstrap, or verify FFT_nano runtime setup.
Scope
- Host prerequisites (Node 20+, npm, container runtime)
- First-time bootstrap via project scripts
- Provider/env setup for Pi runtime inside the container
- First run validation for Telegram and/or WhatsApp
Guardrails
- Never run destructive git commands (
git reset --hard,git checkout --, force-push) unless explicitly requested. - Preserve unrelated worktree changes.
- Keep admin/delegation operations constrained to the main chat only.
Setup Flow
- Verify prerequisites:
node -v(must be v20+)npm -v- macOS:
container --version(Apple Container) ordocker --version - Linux:
docker --version
- Bootstrap with project script:
./scripts/setup.sh
- Populate
.envfrom.env.exampleand fill provider vars. - If WhatsApp is enabled, run one-time auth:
npm run auth
- Start service:
- Dev:
./scripts/start.sh dev - Dev Telegram-only:
./scripts/start.sh dev telegram-only - Prod:
./scripts/start.sh start
- Dev:
Provider Wiring (Pi runtime in container)
Preferred variables in .env:
PI_APIPI_MODELPI_API_KEY(or provider-specific keys likeZAI_API_KEY,OPENAI_API_KEY,ANTHROPIC_API_KEY)- Optional:
PI_BASE_URL
Example (Z.AI/GLM):
PI_API=zai
PI_MODEL=glm-4.7
ZAI_API_KEY=replace-me
Platform Notes
macOS
- Runtime auto-prefers Apple Container when available.
- If Apple Container is installed but stopped, run:
container system start
- If networking stalls/timeouts occur:
container system stop && container system start
Linux
- Runtime uses Docker by default.
- Ensure daemon is running before start:
docker info
Setup Verification Checklist
npm run typecheckpasses.npm testpasses.- Service starts without startup exceptions.
- Telegram mode:
/statusresponds. - Main chat behavior is correct:
- main chat responds to normal messages
- non-main chat requires
@FarmFriend(or configured@<ASSISTANT_NAME>)
Farm Mode Handoff
For farm bridge onboarding, use the dedicated dual-mode bootstrap:
- Demo (simulated telemetry + showcase):
./scripts/farm-bootstrap.sh --mode demo - Production (real devices + mapping + validation):
./scripts/farm-bootstrap.sh --mode production
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?