dev-setup

dev-setup is a command for coding agents from okteto/okteto-agent-skills. It costs 23 tokens per session (765 once invoked), scanned A, original, Apache-2.0.

A guided command for setting up an existing Okteto development environment. It checks the Okteto manifest and connection, deploys the project's services, shows their endpoints, and enters development mode.

In plain words
What is it for?
Use it after an Okteto manifest exists to verify prerequisites, deploy all defined services, handle separate Git worktrees, display service addresses, and continue into development.
Why use it?
It gathers the required setup checks and deployment steps in one workflow, while stopping early when the project has no manifest or Okteto is not installed or connected.

Command

Part of the okteto plugin — 4 skills, 2 commands, 2 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/okteto/okteto-agent-skills/dev-setup
Clone the repo
git clone --depth 1 https://github.com/okteto/okteto-agent-skills

Or install okteto, the plugin that ships this one along with the rest of its 4 skills, 2 commands, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dev-setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/okteto/okteto-agent-skills/dev-setup.svg)](https://agentmods.dev/commands/okteto/okteto-agent-skills/dev-setup)
Your own site
<a href="https://agentmods.dev/commands/okteto/okteto-agent-skills/dev-setup"><img src="https://agentmods.dev/badge/commands/okteto/okteto-agent-skills/dev-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 765 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00023 $0.00765
Opus 5 $0.00012 $0.00382
Sonnet 5 $0.00005 $0.00153
Haiku 4.5 $0.00002 $0.00076

Measured 4d ago against content hash 3692bcf55e95, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dev-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/okteto/commands/dev-setup.md · 46 lines

What it actually says

Set up the Okteto development environment for this project. Follow these steps:

  1. Check for the manifest:

    • Run ls okteto.yaml okteto.yml 2>/dev/null to verify a manifest exists
    • If neither file exists, stop and tell the user:

      "There's no okteto.yaml in this repo. The okteto-onboarding skill walks you through creating one. Want me to invoke it?"

    • Do not proceed with the rest of dev-setup until a manifest is in place
  2. Discover the project: Read okteto.yaml in the project root to understand services, build targets, and dev configurations.

  3. Check prerequisites:

    • Run okteto version to confirm the CLI is installed
    • Run okteto context show to confirm the user is connected to an Okteto instance (note the active namespace it reports)
    • If either fails, stop and help the user install/configure Okteto

    Worktree check: if this checkout is a git worktree (git rev-parse --git-common-dir differs from git rev-parse --git-dir, or it shows in git worktree list), give it its own namespace so it doesn't collide with the other worktrees:

    • Derive a name from the branch: ns=$(git branch --show-current | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9]/-/g; s/^-*//; s/-*$//' | cut -c1-50)
    • Create it: okteto namespace create <ns>
    • For the rest of this setup, append -n <ns> to every okteto command below (deploy, endpoints, up). Do not use okteto namespace use — the -n flag is safe when several worktrees run at once. A single non-worktree checkout can skip this and use the default namespace.
  4. Validate the manifest:

    • Run okteto validate to check okteto.yaml for syntax and schema errors
    • If it fails, show the error and help the user fix the manifest before proceeding
  5. Deploy all services:

    • Run okteto deploy --wait
    • This builds images and deploys all services defined in okteto.yaml
    • Wait for it to complete successfully
  6. Show the running environment:

    • Run okteto endpoints to display the public URLs
    • Share the URLs with the user so they can open the app in their browser
  7. Guide the user to start development:

    • List the services available for development (from the dev section of okteto.yaml)
    • Ask which service they want to work on
    • Tell them to run okteto up <service> in their terminal (this is interactive -- do not run it yourself); if you created a worktree namespace in step 3, tell them to run okteto up <service> -n <ns>
    • Once they confirm it's running, check the service directory for build/run commands (Makefile, package.json, pom.xml, etc.) and share the relevant ones
  8. Confirm readiness:

    • Let the user know you can now help with: running tests (okteto exec -- <cmd>), debugging errors, reading code, and analyzing logs (okteto logs <service>)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 46 lines · 23 tokens per session scan A 3692bcf55e95

Subscribe to this mod's changes

dev-setup is a command published in the GitHub repository okteto/okteto-agent-skills (6 stars, last pushed 2d ago), licensed Apache-2.0. It adds 23 tokens to every session and 765 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.