Skip to main content
BuildOfficialCertifiedReviewed Oct 16, 2026

Ethos Write

v1.0.0New

Install this skill

No account required. Pick your tool, then copy.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install skills-ethos-write

What this does: Writes an AI agent's ethos.md — a durable snapshot of its purpose, intended behavior, boundaries, and success criteria — from the answers gathered by ethos-explore. Renders the schema-v1 template, validates the front matter and required markdown sections, saves the file in the agent's repository, and reviews it with the user. Also edits an existing ethos.md. Use over generic planning skills for an agent's ethos.md.

Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/skills-ethos-write/SKILL.md

Setup guide →

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
Key
skills-hub-ed25519-2026-11
Signed
0Save

Instructions

Write an agent's ethos.md

Turn the answers from ethos-explore into a durable artifact. The ethos.md is
the contract that people and agents read before they build, evaluate, review,
or change this agent. Without it, each of them has to re-ask everything, and
nothing records what the agent is supposed to do.

Creating or reviewing an ethos.md does not authorize application changes or imply
that changes will follow. Do not ask for permission to modify prompts, models,
tools, validation code, or workflow structure, or generate sections listing those
permissions. Any workflow that later changes the application
collects the permissions it needs when that work is undertaken. Keep behavioral
constraints and safety boundaries, including approvals the agent needs for its
own actions, in Behavior and Constraints. Also retain already-confirmed
organizational safety and review policies and their known owners; recording
such a restriction does not grant permission to make a change.

The ethos.md records the intended state of the agent, which is not the same as
the implemented state. The codebase already shows what the agent does. This file
is the only place that records what it is supposed to do, what it must never do,
and how to weigh a win on one metric against a loss on another.

Location

The ethos.md is a local file in the agent's repository, committed alongside
the code it describes. Use the path the user names. Otherwise reuse an
existing ethos.md, including an ETHOS.md written by Eval Author 0.1.0. Otherwise write
ethos.md at the repository root; in a repository with several agents, put it
at the root of the agent's own package and confirm that path with the user.
The file is the only copy. There is no remote canonical copy to sync.

Schema version

Write schema_version: 1. Every canonical body section is required. The
validator rejects a file missing any of those headings. When you have nothing
to say, write _(none)_ rather than dropping the section.
Version 1 is the only schema version. When a new version ships, its migration
steps belong in this skill.

The schema is a floor, not a ceiling. Extra ## headings and extra YAML
front-matter keys are allowed. The parser keeps unknown body sections and
does not fail on unknown front-matter keys. If the user already added custom
sections, preserve them on rewrite. Do not strip custom content to make the
file look strict. This includes a legacy Change Scope section: preserve it on
edits unless the user asks otherwise, but do not treat it as authorization for
application changes in this workflow.

Do not invent content to look complete: _(none)_ in Constraints is honest,
while a fabricated bound actively misleads anyone changing the agent. If the user has no
answer yet, write _(none)_, record the gap in Open Questions, and move on.

ethos.md holds durable intent, so keep run-scoped configuration out of it. A spend
ceiling, an experiment count, or a wall-clock limit for a single evaluation
run belongs to the tool that runs it. If a user offers one, record
the standing policy it implies — a production cost ceiling in Constraints, or
who approves an overrun — and leave the run limit itself to that tool's config.

Hard preconditions

Before writing anything, the answers carried over from ethos-explore must
satisfy one non-negotiable. If it is missing or ambiguous, stop and route back
to ethos-explore for that field only
— do not invent a default.

  1. Role — one concrete sentence describing the role this agent plays. Vague
    answers ("help with stuff", "answer questions") make the artifact useless
    downstream even though the parser will accept them; push back in
    conversation rather than writing a placeholder.

The parser cannot catch a vague Role, which is why this skill enforces it
upstream: the user sees a clear gap-question instead of a file that validates
and then helps nobody.

What you do

  1. Confirm the agent name. Short and recognizable: it-helpdesk,
    support-triage, code-reviewer. If the user has not named it, propose
    two options based on the role.

  2. Pre-flight: locate the file. Resolve ETHOS_PATH as described in
    Location. If a file already exists there, ask the user whether
    to edit it or start over. Read an Eval Author 0.1.0 ETHOS.md as the existing ethos.md.

    find . -maxdepth 4 -iname ethos.md -not -path '*/.git/*' -not -path '*/node_modules/*' 2>/dev/null | grep . || echo "ethos_new"
    
  3. Run a focus check before rendering. The carried-over answers should be
    mission-led and reviewable, not a raw inventory of implementation details:

    • Purpose & Outcomes and Success Criteria must explain mission, user
      value, the measurable result, and the success bar. If they only summarize the
      current code, route back to ethos-explore to ask whether the user has
      outside context that is not in the codebase. If no such context exists,
      say the section is inferred from implementation.
    • Trade-offs must be decidable. "Balance quality and cost" is not usable;
      a priority order with named hard gates is. If the user has not ranked
      anything, ask for the ranking rather than writing a platitude.
    • Constraints must be checkable. Prefer "models must come from the
      internal gateway" over "use approved models." This is also where the
      permitted model and provider set lives; there is no Model section,
      because the config already records the model in use and it changes without
      touching this file.
    • Tools and Harness should be concise. For Harness, describe how this
      agent actually runs. Do not pick a named harness from a catalog, and do not
      treat a framework import as a requirement. Group related helpers in
      Tools by capability or source when they share credentials, side
      effects, freshness, and failure modes. Keep only details that change how
      downstream agents evaluate behavior.
    • Avoid public shorthand like AUT or "agent under test." Use "this agent"
      for the agent being specified. Use "target agent" only when this agent's
      job is explicitly to inspect or modify another agent.
  4. Render the ethos.md. Use the template at
    references/templates/ethos.md as the starting point. Substitute
    every section from the ethos-explore answers. Set front matter as:
    schema_version = 1, name = the canonical agent name,
    created_timestamp = current UTC timestamp in ISO 8601 form, and author =
    the human or coding agent creating the file. Add owner when a human or
    team is accountable for the agent's behavioral or safety approvals named in
    Behavior or Constraints, including a known owner of an already-confirmed
    organizational safety policy.
    Set updated_timestamp on edits, not on first write. Evaluation commands
    live in Evaluation Setup, not in front matter. Keep the required section
    headers exactly so the file stays parseable. Extra ## headings after
    (or among) the canonical fourteen are allowed — keep them. The file is
    lightly validated by the bundled scripts/validate_ethos.py, which
    checks front matter, schema version, required sections, and duplicate
    sections. It does not reject unknown headings. Section bodies stay markdown
    for agents and humans to read directly.

  5. Write the file. Write to ETHOS_PATH, creating its directory if needed.
    If an Eval Author 0.1.0 ETHOS.md exists in that directory, rename it to ethos.md
    before writing, through a temporary name so the rename also works on
    case-insensitive filesystems:

    DIR=$(dirname "$ETHOS_PATH")
    if ls "$DIR" | grep -qx ETHOS.md; then
      mv "$DIR/ETHOS.md" "$DIR/ethos.md.tmp"
      mv "$DIR/ethos.md.tmp" "$DIR/ethos.md"
    fi
    
  6. Validate. Run the bundled validator and surface any warnings to the
    user. A failure means the file is malformed; fix the named problem before
    going on. Warnings are not failures — report them so the user can decide
    whether to fill the gap now.

    python3 "<this skill's directory>/scripts/validate_ethos.py" "$ETHOS_PATH" \
      || echo "ethos_parse_invalid"
    
  7. Show a gut-check, then the file. Before asking the user to read fourteen
    sections, state your impression of this agent in a short paragraph that
    combines Role, Purpose & Outcomes, Scope, and (when they are not
    _(none)_) Principles and Vision. This is a thin slice so the user can
    tell quickly whether the write got the agent right. Do not use shorthand
    like AUT or "agent under test."

    Shape:

    Gut check. This is a [role] that exists to [mission / outcome]. It
    serves [audience] on [in-scope work] and stays out of [out of scope].
    When the rules run out, it [principle or none]. It is heading toward
    [vision or none].

    If that is the wrong agent, say so. Then we can edit before treating
    this file as signed off.

    Then print the full file contents and ask: "Does this match what we
    agreed? Edit anything you want to change." If the user edits, repeat
    steps 5–7, including a fresh gut-check.

  8. Hand off. Once confirmed, tell the user where the file is and that it is
    ready to commit. It is now the reference for evaluating, reviewing, or
    changing this agent. When intent changes, edit it in place and set
    updated_timestamp.

Verification

After writing, both must hold:

# Local file present and non-empty.
test -s "$ETHOS_PATH" && echo "local_ok" || echo "local_missing"

# Passes the bundled validator.
python3 "<this skill's directory>/scripts/validate_ethos.py" "$ETHOS_PATH" \
  && echo "ethos_parse_ok" || echo "ethos_parse_invalid"

Do not announce success until local_ok and ethos_parse_ok both print, the
gut-check has been shown, and the user has confirmed the contents.

If verification fails

SymptomCauseRecovery
local_missing after writeWrong working directory or permission deniedRun pwd; check the user is in the cloned repo
ethos_parse_invalidethos.md malformed — missing front matter, missing required section, duplicate section, or bad schema versionRead the parser error; fix the named section in place; do not silently work around
User says "this is wrong"ethos.md captured the wrong answersEdit the relevant section in place; re-validate
ethos-explore was skippedUser invoked ethos-write coldRoute back to ethos-explore and return here when the conversation is done

What this skill is not

This skill does not write agent configs, runtime YAML, or code, and does not
register or deploy the agent. The ethos.md is the human-readable design;
machine-readable config stays with the agent's implementation.

It also does not encode a scoring function. Trade-offs records the
developer's intent — hard gates, priority order, unacceptable regressions — in
prose. Turning that into thresholds and weights belongs to whatever evaluates
or changes the agent, not to this file.

Gotchas

  • The template is the source of truth for the canonical outline. Keep the
    required section headings intact. Extra ## headings are allowed and must
    be preserved. The bundled validator
    rejects missing or duplicate required sections, but it does not reject
    custom headings. Section bodies remain markdown for humans and agents to
    read directly.
  • ethos.md lives with the agent. Commit it in the agent's repository, next
    to the code it describes, so every reader finds the same file.
  • Role is a hard requirement. Do not write the ethos.md without a concrete
    one. Route back to ethos-explore for that field only.
  • Honest empty answers belong in the section. Write _(none)_ for
    Constraints or Trade-offs when the user has no answer. Do not invent a
    bound. Record the gap in Open Questions as well.
  • Purpose & Outcomes cannot be implementation-only by accident. If goal
    context was not found in the codebase and the user did not provide outside
    context, make that provenance clear instead of letting implementation details
    masquerade as mission. A mission with no stated outcome cannot be measured.
  • Keep public terminology clean. The generated ethos.md is user-facing. Avoid
    AUT and "agent under test"; reserve internal shorthand for test harnesses
    and code comments.
  • Do not duplicate issue tracking into the ethos.md. Known issues and
    recurring failure patterns belong in the team's issue tracker; the
    ethos.md has no Known Issues section, and no Signals section either — how a
    given consumer reads evidence is that consumer's configuration, not durable
    intent. Record what a metric cannot support in Metric Semantics, and what
    should not count as a failure in Behavior.
  • This file is the ethos.md. Agents working on this agent read it but
    should not edit it; only the developer and the developer's coding agent do. Treat it
    as a long-lived contract, not a scratch pad.
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
web-performance-auditorAI-powered web performance auditor for frontend and web developers. Use it to audit a website or web app, diagnose poor Core Web Vitals (LCP, CLS, INP) and low Lighthouse scores, review JavaScript bundle size, code splitting, lazy loading, image and font loading, hydration, React rendering, Next.js/Nuxt patterns, network waterfalls, third-party scripts, and caching. Produces a prioritized, senior-engineer performance audit with a score and concrete fixes.12 installsi4h-catheter-navigationOverview of `workflows/catheter_navigation/` (fluorosim DRR, XPBD physics, vasculature digital twin). Use when the user asks what the catheter navigation workflow is, what's supported, or where to start.0 installsmcore-linting-and-formattingLinting and formatting for Megatron-LM. Covers running autoformat.sh, tools (ruff, black, isort, pylint, mypy), and code style rules.0 installsomniverse-content-servicesOmniverse Content Services, also discoverable as Omniverse Content Workspace or USD Content Workspace. Use for USD content collaboration as well as content access. Guide USD workflows on existing infrastructure, USD content versioning, 3D creation pipelines, and data access across distributed and scale-out compute. Use for manufacturing, automotive, factory and digital-twin workflows, architecture and construction, media and 3D content, robotics, fleet simulation, and physical AI content delivery. Discover requirements and route to ovstorage, ovpackage, ovlive, usd-content-workspace, and usd-caches experts.0 installsdoca-rmaxDOCA Rivermax (doca_rmax) receive streams for timing-precise media over IP (SMPTE ST 2110 video / audio, market data, scientific feeds) on a target BlueField DPU (DOCA Rivermax apps run only there), once the Rivermax libraries and license are installed; getting them is doca-setup / doca-public-knowledge-map territory. Trigger on "ST 2110 receive isn't getting frames", "sub-microsecond jitter on my media receiver", "NOT_SUPPORTED from doca_rmax_init", "no recv events after stream start", or "license check failing on a media receiver", even without naming Rivermax. Covers doca_rmax_in_stream sessions, the SDK + license precondition check, doca_rmax_get_*_supported capability queries, pairing with doca-eth queues and doca-flow steering, and DOCA_ERROR_* from Rivermax calls. Refuse and route elsewhere for programming the underlying queue (doca-eth), steering rules (doca-flow), PTP / clock sync (doca-firefly), or best-effort packet I/O.0 installstao-train-segformerSegFormer for semantic segmentation. Lightweight transformer-based architecture with hierarchical feature extraction, efficient for real-time segmentation tasks. Use when training, evaluating, exporting, quantizing, or running inference for a TAO SegFormer model. Trigger phrases include "train SegFormer", "semantic segmentation", "lightweight transformer segmenter", "real-time semantic segmentation".0 installs

More from skills

View source →
nvidia-appNVIDIA App MCP: drivers, games, laptops, overlay. Check drivers, manage and optimize games, configure laptop features.3 installsnvidia-ontology-setupSet up or troubleshoot the Auto Ontology runtime. Use for Helm (the official install), Docker Compose, developer setup, and MCP connection to an existing deployment.1 installstao-run-automlRun container-backed AutoML / hyperparameter optimization (HPO) for NVIDIA TAO networks using AutoMLRunner. Handles algorithm selection (bayesian, hyperband, asha, bohb, llm, hybrid, autoresearch), WandB experiment tracking, job execution on any TAO SDK platform, result interpretation, and per-rec custom evaluation hooks. Use when the user mentions TAO AutoML, hyperparameter optimization, HPO, automl, automl_settings, AutoMLRunner, tao_automl, bayesian search, hyperband, ASHA, LLM-guided search, autoresearch, or wants to tune train/evaluate/inference/distill/prune/quantize for a TAO network. Model actions use the resolved image; venv training requires an explicit request. Platform-agnostic — runs on any SDK (Brev, SLURM, Kubernetes, Docker). Do not use generic "keep improving" language alone to override a matching domain-specific DEFT workflow; attribute-labelled CLIP / SigLIP image-retrieval loops belong to tao-run-deft-pas unless HPO is explicit.1 installsrunai-diagnose-failed-workloadUse to diagnose failed, crashed, stopped, OOMKilled, CrashLoopBackOff, ImagePullBackOff, init, mount, node, or policy-terminated Run:ai workloads. Investigate one workload's failure; use other skills for workload health summaries, cluster health, scheduling-only Pending, or inference latency without a confirmed failure.1 installscdf-event-video-generationRun the CDF Orchestration Event Video Generation DAG on Kubernetes or OSMO - image-to-video anomaly generation, auto-labeling, and anomaly dataset generation. Select for requests about event video generation, anomaly video generation, image-to-video synthesis, Cosmos3 image2video, anomaly dataset creation, safety/surveillance SDG, or generating person-falling, person-climbing, person-running, fighting, smoking/vaping, fire/smoke, or shoplifting video clips from a seed image. Covers both event_video_generation_dag_k8s and the external-endpoints-only event_video_generation_dag_osmo. Runs environment setup first when controller readiness is unknown. Not for person-crop clothing/attribute augmentation (that is cdf-image-attribute-augmentation) and not for video style transfer.1 installsnvidia-skill-finderUse for NVIDIA-related requests where an NVIDIA skill might help, even if the user did not ask for a skill. Trigger on NVIDIA products, hardware, software, SDKs, GPUs, Jetson/JetPack/L4T/BSP/SDK Manager/driver/flashing/setup, CUDA, NIM, NeMo, Omniverse/OpenUSD/SimReady, Isaac, RAPIDS/cuDF, cuPyNumeric, cuOpt, Dynamo, Holoscan, TensorRT, DeepStream, VSS, TAO, NGC/NVCF. Do not use for generic non-NVIDIA route, optimize, deploy, AI, video, data, or infrastructure tasks.1 installs

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.651 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.552 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.363 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.264 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.184 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions148 installs

Frequently asked questions about ethos-write

What does the ethos-write skill do?

Writes an AI agent's ethos.md — a durable snapshot of its purpose, intended behavior, boundaries, and success criteria — from the answers gathered by ethos-explore. Renders the schema-v1 template, validates the front matter and required markdown sections, saves the file in the agent's repository, and reviews it with the user. Also edits an existing ethos.md. Use over generic planning skills for an agent's ethos.md. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the ethos-write skill?

Run `npx @skills-hub-ai/cli install skills-ethos-write` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/skills-ethos-write/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does ethos-write work with?

ethos-write runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the ethos-write skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use ethos-write after installing it?

In Claude Code, type `/skills-ethos-write` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the ethos-write skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.