/moos-ivp-skills:moos-app-builderfrom MOOS-IvP Skills
Generates C++ MOOS apps outside the core MOOS-IvP source tree: app generation, build wiring, MOOS mail/config/iterate logic, help/interface text, and ProcessConfig examples.
Ships in MOOS-IvP Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use this skill for user application development against the local MOOS-IvP checkout. Treat MOOS-IvP itself as the dependency and example source unless the user explicitly asks to patch core MOOS-IvP.
When this skill needs a local MOOS-IvP checkout, resolve it in this order:
MOOS_IVP_ROOT from the shell environment.ivp/src.~/moos-ivp, ~/src/moos-ivp, ~/repos/moos-ivp, and ~/projects/moos-ivp.moos-ivp, excluding noisy folders.Validate a candidate by confirming ivp/src exists and scripts/GenMOOSApp_AppCasting is executable.
If no valid checkout is found and the task requires app source generation, build wiring, examples, headers, or libraries, stop and ask the user for the checkout path before editing code, generating build files, or using placeholder paths.
GenMOOSApp_AppCasting for new apps.src/CMakeLists.txt, update it with ADD_SUBDIRECTORY(<app-dir>).MOOS_IVP_ROOT.OnNewMail() ingests mail, validates messages, and updates state through handleMail* helpers; Iterate() owns most business logic, recurring work, and state-derived publications.OnStartUp(), using handleConfig* helpers for nontrivial values and AppCasting warnings for bad or unhandled config.registerVariables() and call AppCastingMOOSApp::RegisterVariables() in AppCasting apps._Info.cpp as part of the app implementation: synopsis, example config, subscriptions, publications, and options must describe the real app.NAME, ORGN, FILE, and DATE to match the user project.m_; helpers commonly use handleMail*, handleConfig*, post*, update*.--help, --example, and --interface as binary smoke checks
before finishing when feasible. These prove the app starts and its
self-documentation is wired; they do not prove mission runtime config.pAntler in the foreground unless the task
explicitly requires persistent or concurrent execution. Use the shortest
timeout that proves the claim, capped at 30 seconds unless a stated
task-specific reason requires longer. After it stops, verify scoped processes
and selected ports are clear.p: process/control/monitoring appu: utility or simulation-support appuFld: shoreside field appi: interface/driver appp for process/control/monitoring apps and u for utilities or simulation helpers.$MOOS_IVP_ROOT/scripts/GenMOOSApp_AppCasting <Name> <prefix> "<Author>" from the project source directory.references/app-build.md before creating or repairing project-level CMake.references/app-patterns.md for mail/config/iterate/AppCasting conventions.Iterate(). Publish directly from OnNewMail() only for trivial acknowledgments or explicitly requested immediate reactions.GetDouble() or GetString().showSynopsis()showExampleConfigAndExit()showInterfaceAndExit()pAntler configuration; add
moos-ivp-mission-builder only when the task owns broader mission topology,
routing, launchers, or controls—not merely for live app validation.
ProcessConfig = <AppName> with realistic AppTick and CommsTick.ProcessConfig in _Info.cpp is
enough. If a runnable sample mission was requested, include the
ProcessConfig and the pAntler or launcher context that actually starts
the app.pAntler or the mission launcher pattern only if the existing mission uses that style.pAntler validation mission with a launcher-local
PATH=<project>/bin:$PATH extension, or document the persistent shell
setup that puts the project bin/ on PATH.--help, --example, and --interface as
smoke checks when those options are supported.pAntler launch with
ProcessConfig = <AppName> rather than treating a direct binary run as
equivalent.references/app-build.md when the project build layout is missing, broken, or unfamiliar.references/app-patterns.md before implementing nontrivial app logic.references/app-examples.md when choosing a representative app to inspect in the resolved MOOS_IVP_ROOT.apputil for AppCasting and mbutil for common utilities.OnNewMail() handles or deliberately ignores subscribed mail without warning on APPCAST_REQ.registerVariables() lists every subscribed variable.showInterfaceAndExit() matches actual subscriptions/publications.--help, --example, and --interface reflect the real app and do not
crash when supported.pAntler with
ProcessConfig = <AppName>, not by direct app-by-path execution alone.<skill-dir>/scripts/check_portable_paths.sh <project-dir>, resolving
<skill-dir> as the directory containing this SKILL.md, and include a
clean build with a caller-supplied non-default MOOS_IVP_ROOT.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
moos-app-builder, moos-ivp, cpp-app-generation, cmake, build-wiring
npx claudepluginhub cbenjamin23/moos-ivp-skills --plugin moos-ivp-skills10 skills in this plugin
/ivp-behavior-builderBuild or modify user-owned IvP helm behaviors outside the core MOOS-IvP source tree: BHV_* C++ classes, IvPBehavior lifecycle methods, shared behavior libraries, IVP_BEHAVIOR_DIRS wiring, and behavior-specific configuration parameters./moos-alog-analysisAnalyze existing MOOS .alog files for post-run, log-backed questions such as mission reconstruction, variable history, helm-state context, or timestamped incident evidence./moos-ivp-docsConsult MIT MOOS-IvP PDFs and local ivp/src for documentation-backed answers about apps, behaviors, parameters, concepts, upstream semantics, or doc-vs-source differences./moos-ivp-eval-mission-builderBuild or repair one self-evaluating MOOS-IvP mission by adding an evaluation layer to an ordinary mission: headless startup, pMissionEval grading, results.txt, uMayFinish/xlaunch completion, zlaunch automation, scoped teardown, and single-scenario validation./moos-ivp-harness-builderBuild or repair multi-case MOOS-IvP test harnesses around self-evaluating stem missions: case matrices, per-case mission copies, result aggregation, serial and rolling parallel execution, port isolation, scoped teardown, and nspatch variants. Use moos-ivp-eval-mission-builder for stem missions./moos-ivp-installerInstall or validate upstream MOOS-IvP: locate or clone moos-ivp/moos-ivp, follow the platform setup README, create env.sh, and verify the checkout for MOOS-IvP development.Other plugins' skills for the same job