build-dashclaw

build-dashclaw is a skill for Claude Code, Codex from ucsandman/dashclaw-skills. It costs 24 tokens per session (1,383 once invoked), scanned A, a copy of build-dashclaw, MIT.

A contribution guide for DashClaw, a Node.js application that governs and records AI-agent actions. It describes the code structure, core API routes, extensions, testing, and continuous integration (automated checks run before changes are accepted).

In plain words
What is it for?
It helps plan architecture changes, add capabilities, write tests, and update CI for the DashClaw codebase.
Why use it?
Contributors need to know where features belong and which parts of DashClaw are protected by project rules. The guide explains the three-tier structure and the limits on core API routes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit It helps plan architecture changes, add capabilities, write tests, and update CI for the DashClaw codebase.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ucsandman/dashclaw-skills/build-dashclaw
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.

Any agent
npx skills add ucsandman/dashclaw-skills --skill build-dashclaw
Clone the repo
git clone --depth 1 https://github.com/ucsandman/dashclaw-skills

Made for: Claude Code, Codex.

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 build-dashclaw

README.md
[![agentmods](https://agentmods.dev/badge/skills/ucsandman/dashclaw-skills/build-dashclaw/github.svg)](https://agentmods.dev/skills/ucsandman/dashclaw-skills/build-dashclaw)
Your own site
<a href="https://agentmods.dev/skills/ucsandman/dashclaw-skills/build-dashclaw"><img src="https://agentmods.dev/badge/skills/ucsandman/dashclaw-skills/build-dashclaw/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for build-dashclaw

Your own site · 80×15
<a href="https://agentmods.dev/skills/ucsandman/dashclaw-skills/build-dashclaw"><img src="https://agentmods.dev/badge/skills/ucsandman/dashclaw-skills/build-dashclaw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,383 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.1 $0.00024 $0.01383
Opus 5 $0.00012 $0.00691
Sonnet 5 $0.00005 $0.00277
Haiku 4.5 $0.00002 $0.00138

Measured 10d ago against content hash 97993db45368, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

build-dashclaw 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 10d 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.

Origin

This is a copy

100% identical to build-dashclaw — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/build-dashclaw/SKILL.md · 168 lines

How it starts

The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Build DashClaw

Guide for contributing to the DashClaw codebase. Covers architecture, adding new capabilities, testing, and CI.

Architecture Overview

DashClaw is organized into 3 tiers:

Tier 1: Core Runtime (app/api/)

7 mandatory endpoints that define DashClaw's governance category:

Route Method Purpose
/api/guard POST Policy evaluation — "can I do this?"
/api/actions POST, PATCH, GET Action lifecycle recording
/api/approvals POST Human approval decisions
/api/assumptions POST, GET Reasoning integrity tracking
/api/signals GET Real-time anomaly detection
/api/policies GET, POST Guard policy management
/api/health GET System readiness

The 7-route boundary is CI-enforced. Adding a new core route requires justification.

Tier 2: Extensions (app/(extensions)/)

Modular operational intelligence:

  • Compliance, Drift, Evaluations, Scoring, Prompts, Webhooks, Learning

Tier 3: Archived (app/api/_archive/)

Legacy features from the "Agent Platform" era. Physically isolated.

Tech Stack

Layer Technology
Runtime Node.js 20+
Framework Next.js 16 (App Router)
Database Postgres (Neon recommended)
ORM Drizzle ORM
Auth NextAuth.js v4
UI React 18, Tailwind CSS 3
Testing Vitest + jsdom
Package Manager npm

Key Conventions

TEXT Primary Keys

All IDs are TEXT with crypto-random prefixed values:

import { randomBytes } from 'crypto';
const id = `act_${randomBytes(16).toString('hex')}`;

ID prefixes: ar_ (actions), oc_live_/oc_test_ (API keys), sp_ (scoring profiles), pt_ (prompt templates), etc.

Repository Pattern

No direct SQL in route handlers. All data access goes through repository modules:

app/lib/repositories/*.repository.js

Route handlers import from repositories, never inline SQL.

Auth Chain

Request → Strip client org headers → Rate limit → Route matching
  → Public routes: pass through
  → Protected routes: x-api-key (fast path: timing-safe compare)
    → Inject org context from resolved key

Read the full file on GitHub · 168 lines

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. 10d ago First seen · 168 lines · 24 tokens per session scan A 97993db45368

Subscribe to this mod's changes

build-dashclaw is a skill published in the GitHub repository ucsandman/dashclaw-skills (2 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 1,383 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to build-dashclaw, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

import-prom-rule

Bulk import of a Prometheus alert rule YAML file (create a whole set of rules at once). Dedicated to handling a remote URL or local YAML text, automatically parsing the three formats groups / a plain rules array / a single rule. ⚠️ Do not use this skill for single-rule creation — when the user describes a single alert…

ccfos/nightingale · 125 tokens

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens

configure-env-variables

Configures environment variables for Power Pages site settings to support ALM across environments. Creates environment variable definitions in Dataverse, guides the user through linking site settings to those variables via the Power Pages Management app, adds the variables to the solution, and generates a…

microsoft/power-platform-skills · 119 tokens

atmos-profiles

Atmos profiles: profile directories, --profile and ATMOSPROFILE activation, profile merge behavior, environment switching, and routing profile-specific auth/toolchain/config overrides.

cloudposse/atmos · 35 tokens

webhook-management

Configure and validate CCAM webhook targets across supported chat, incident, automation, and generic providers. Use when listing provider requirements, creating or updating a target, scoping it to alert rules, sending a test notification, reviewing delivery history, or deleting a target.

hoangsonww/Claude-Code-Agent-Monitor · 56 tokens

monorepo-management

Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.

wshobson/agents · 54 tokens