structural-integrity

structural-integrity is an agent for coding agents from datacore-one/datacore. It costs 45 tokens per session (4,585 once invoked), scanned A, original, MIT.

A maintenance agent that checks whether a Datacore folder structure is organised correctly. It looks for misplaced files, missing related files, broken references, naming problems, and Git LFS issues.

In plain words
What is it for?
Use it to audit folders, validate companion files, check large-file handling, and report or fix structural issues.
Why use it?
It helps find structural problems that can make files difficult to locate or cause repository rules to be broken.

Agent

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 agents/datacore-one/datacore/structural-integrity
Clone the repo
git clone --depth 1 https://github.com/datacore-one/datacore

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 structural-integrity

README.md
[![agentmods](https://agentmods.dev/badge/agents/datacore-one/datacore/structural-integrity.svg)](https://agentmods.dev/agents/datacore-one/datacore/structural-integrity)
Your own site
<a href="https://agentmods.dev/agents/datacore-one/datacore/structural-integrity"><img src="https://agentmods.dev/badge/agents/datacore-one/datacore/structural-integrity.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,585 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.00045 $0.04585
Opus 5 $0.00023 $0.02292
Sonnet 5 $0.00009 $0.00917
Haiku 4.5 $0.00005 $0.00458

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

Security

Grade A, and why

structural-integrity 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 yesterday.

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.

.datacore/agents/structural-integrity.md · 565 lines

How it starts

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

Structural Integrity Agent

Engram Injection

Before starting work, load relevant learned patterns:

  1. Preferred: Call plur_admin MCP tool with action = "plur_inject_hybrid", prompt = your task description, scope = agent:structural-integrity
  2. Fallback: If MCP is unavailable, read .datacore/state/agent-engrams/structural-integrity.md for compiled engrams

Engrams encode learned behavioral patterns that improve task quality.

Agent Context

When to Reference DIP-0015

Always reference when:

  • Auditing folder structure
  • Validating companion files
  • Checking Git LFS requirements
  • Detecting naming violations

Key decisions this DIP informs:

  • Expected folder hierarchy
  • Companion file requirements
  • LFS-worthy file formats
  • Naming conventions (kebab-case)

Quick Reference

Question Answer
Expected structure? 0-inbox/, 1-tracks/, 3-knowledge/, 4-archive/
Companion required? .key, .pptx, .psd, .ai files
LFS threshold? Files > 10MB
Naming convention? kebab-case, no spaces

Related DIPs

Related Agents

Agent Relationship
ingest-orchestrator Triggers me post-ingestion
scaffolding-auditor Related but focuses on knowledge

Integration Points

  • DIP-0015 - Primary reference for structure (spec pending)
  • Git LFS - Validates large file tracking
  • Nightshift - Weekly scheduled audits
  • Pre-commit hook - Root-level enforcement for main repo

Known Limitations

Space-Internal Focus: This agent checks folder structure WITHIN spaces (per-space allowlists) but does NOT detect unwanted folders/files at the Datacore root directory during normal space checks.

Read the full file on GitHub · 565 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. yesterday First seen · 565 lines · 45 tokens per session scan A 4dccddb0bfcf

Subscribe to this mod's changes

structural-integrity is an agent published in the GitHub repository datacore-one/datacore (4 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 4,585 once invoked, about $0.0002 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-09-03.

Related

Other agents, from other repositories

01-crm-pull

Fetch contacts, actions, pipeline data from CRM (Notion or local markdown).

assafkip/kipi-system · 22 tokens

01-calendar-pull

Fetch calendar events for the next 7 days via Google Calendar MCP.

assafkip/kipi-system · 18 tokens

brainstormer

Creative research and solution design agent. Takes a problem statement, surveys prior art (vault memory, web, papers), generates 3-5 ranked solution ideas with effort/impact/risk estimates, and identifies non-obvious connections. Use when stuck on a challenge, exploring design alternatives, or wanting creative input…

sliamh11/Deus · 0 tokens

code-reviewer

Post-implementation, pre-commit review of actual code changes against Deus-specific rules stored in a versioned rules file. Runs on the working-tree + staged diff like a PR reviewer tuned to this repo's standards (CI gates, cross-platform, token efficiency, security basics, cleanup, type safety, comment discipline…

sliamh11/Deus · 0 tokens

keystone

Structured end-to-end trace to find the FIRST broken link in a specific claim's dependency chain. Single-claim depth probe — NOT a breadth reviewer. Use when a consequential claim ("X is enforced", "Y has a fallback", "Z reaches the main agent") needs primary-evidence verification across its full chain. Advisory…

sliamh11/Deus · 87 tokens

copy-writer

Reviews all user-facing text — error messages, help text, status indicators, onboarding copy, system messages. Ensures text is clear, human, actionable, and consistent in tone. NOT about code quality — about how the product speaks to the user. Advisory (not a commit gate). Use after changes that add or modify…

sliamh11/Deus · 0 tokens