# One Prompt Every AGENTIC Codebase Should Have (For Engineering Teams) <!-- ref: @content/youtube/indy-dev-dan/one-prompt-every-agentic-codebase-should-have-for-engineering-teams tags: [codebase onboarding, install and maintenance, Claude Code hooks, command runners, agentic prompts, human-in-the-loop setup, codebase maintenance] version: 2 updated_at: 2026-11-24T06:07:11.881Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=3_mwKbYvbUg)** # One Prompt Every AGENTIC Codebase Should Have (For Engineering Teams) *Synthesized from IndyDevDan, 2026-01-26.* IndyDevDan presents solo, drawing on fifteen years of engineering and more than 50 codebases. No guests appear. ## Core Thesis IndyDevDan argues that a codebase's install and maintenance scripts become far more useful when they are combined with a command runner, Claude Code's new setup hook, and an agentic prompt. The result is a setup agent that runs deterministic steps, verifies them, reports results, and can ask a human questions when needed. ## Key Insights - **Onboarding benchmark.** How long a new engineer takes to run the project locally signals team quality. Great teams offer one link, a config list and a few commands; most take one to two days of pairing and hunting through outdated docs. - **Setup hook.** Claude Code's setup hook runs before a session when started with an init flag, and a maintenance flag runs a separate path. It suits work not needed every session, such as installing dependencies, running migrations, or periodic cleanup. - **A just launchpad.** The `just` command runner holds recipes such as front-end setup, backend setup, reset artifacts, a Claude init launch, and a maintenance launch, so flags are never looked up twice. - **Scripts alone are not enough.** The deterministic scripts are standard. The value comes from a `/prime` step that loads the codebase context and an install prompt that reads the setup log and writes an install-results document. - **Interactive install.** In human-in-the-loop mode the agent asks how to handle the database (fresh or existing), which install mode to use (full, minimal or skip), whether to check environment variables, and whether to fetch documentation. It noted Claude Code asks up to four questions at a time. - **Maintenance.** The maintenance path runs dependency updates (an npm update in the example), SQLite migrations, artifact cleanup, security checks and dead-code checks. - **Problem and solution pairs.** Known failure modes go into the prompt as problem and solution pairs, so the agent resolves recurring issues the way an engineer would. - **Theme for 2026.** The channel's stated theme is raising trust in agents, starting with customized, repeatable workflows. ## Actionable Takeaways 1. Add a `just`-style command runner so every setup and agent-launch command has one standard entry point. 2. Use the Claude Code setup hook with its init and maintenance triggers for dependency installs, migrations and periodic maintenance. 3. Write an install prompt that primes the agent, runs checks, reads the setup log, and writes an install-results document. 4. Record recurring failures in the prompt as problem and solution pairs. 5. Add an interactive mode for new hires with questions about database setup, install mode and environment variables. ## Notable Quotes > "Agents are good enough. You are good enough." — IndyDevDan > "This is a new pattern that I'm going to be deploying in every single one of my codebases moving forward." — IndyDevDan > "Why not standardize your installation process?" — IndyDevDan --- *Related: `@content/youtube/yifan-bth/let-the-agent-write-the-tests-and-the-fixes` · `@content/youtube/cole-medin/my-ai-dark-factory-dream-is-dead-heres-what-actually-works` · `@content/youtube/cole-medin/i-built-self-evolving-claude-code-memory-w-karpathy-s-llm-knowledge-bases`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*