agent-resource-discipline

agent-resource-discipline is a skill for Claude Code from a-attia/scicomp-research-skills. It costs 0 tokens per session (6,330 once invoked), scanned A, original, MIT.

A migration guide for rebuilding ThoughtSpot reports and dashboards in Sigma. ThoughtSpot is a business analytics tool, while Sigma is a cloud-based tool for exploring data and creating workbooks.

In plain words
What is it for?
Use it to export ThoughtSpot models or worksheets, convert them into Sigma workbooks, recreate Liveboards as dashboards, validate workbook specifications, and verify visual and functional parity.
Why use it?
It provides a structured way to discover the existing setup, convert its data model, build matching dashboards, and check that the result behaves like the original.

Skill for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: mentions Claude Code; mentions AGENTS.md; built for cline.

Good fit Use it to export ThoughtSpot models or worksheets, convert them into Sigma workbooks, recreate Liveboards as dashboards, validate workbook specifications, and verify visual and functional parity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/a-attia/scicomp-research-skills/agent-resource-discipline
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 a-attia/scicomp-research-skills --skill agent-resource-discipline
Clone the repo
git clone --depth 1 https://github.com/a-attia/scicomp-research-skills

Made for: Claude Code.

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 agent-resource-discipline

README.md
[![agentmods](https://agentmods.dev/badge/skills/a-attia/scicomp-research-skills/agent-resource-discipline/github.svg)](https://agentmods.dev/skills/a-attia/scicomp-research-skills/agent-resource-discipline)
Your own site
<a href="https://agentmods.dev/skills/a-attia/scicomp-research-skills/agent-resource-discipline"><img src="https://agentmods.dev/badge/skills/a-attia/scicomp-research-skills/agent-resource-discipline/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 agent-resource-discipline

Your own site · 80×15
<a href="https://agentmods.dev/skills/a-attia/scicomp-research-skills/agent-resource-discipline"><img src="https://agentmods.dev/badge/skills/a-attia/scicomp-research-skills/agent-resource-discipline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,330 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 3
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Prompt Injection · line 175
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Agent Snooping · line 332
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Rogue Agent · line 404
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.1 $0.00000 $0.06330
Opus 5 $0.00000 $0.03165
Sonnet 5 $0.00000 $0.01266
Haiku 4.5 $0.00000 $0.00633

Measured 12d ago against content hash 06cbd03f0202, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

agent-resource-discipline scanned grade A with 1 finding 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 12d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

(`curl` -> `references/_cache/<hash>.html`).
skills/agent-resource-discipline/SKILL.md · 484 lines

How it starts

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

Agent Resource Discipline

How this skill is organised (progressive disclosure)

This skill follows the three-level progressive disclosure pattern codified by Anthropic's skill-creator (see "Adjacent prior art + lineage" below):

  • Level 1 (always in context once the skill is loaded): this SKILL.md, ~250 lines. Contains the universal rules + the decision-procedure for which references to consult.
  • Level 2 (loaded on demand by name): the references/*.md files -- one per discipline. Loaded only when a session actually exercises that discipline.
  • Level 3 (planned future work): enforcement hooks (SessionStart / PreToolUse / Stop) that mechanise the protocols here so they fire reliably without depending on agent discipline alone. Specification in section "Planned future work: enforcement hooks" below.

This is the same pattern the skill itself preaches: load only what you are about to use; defer the rest.

When to load this skill

Load this skill at the start of any session that will involve any of:

  • reading or grepping more than ~5 files;
  • handling PDFs (literature survey, related work, supplementary material);
  • editing or creating files in multiple project sub-directories;
  • web fetching (publisher pages, arXiv, GitHub, doc sites);
  • working across multiple agent sessions on the same project (where cross-session memory matters).

In practice that's most non-trivial sessions in this ecosystem. The universal one-liners in ~/.scicomp-research-skills/AGENTS.md Section 6 cover the basics so cheap-and-fast rules fire even without this skill loaded; this skill expands them with the full how-to.

Why this matters

Agent tokens / quota / context-window are the scarcest resources in any non-trivial session. Beyond raw cost, the attention budget -- the agent's ability to pick the right detail out of its context -- degrades faster than the nominal context window suggests. Empirical work (Chroma's "context rot" study, cited by Anthropic in their Sep 2025 Effective Context Engineering for AI Agents post) shows that recall quality drops well before the window fills. Heavily-loaded contexts also introduce recency bias and goal drift. This skill therefore optimises for both raw token cost AND for keeping the working set small enough that the agent's attention stays sharp.

Read the full file on GitHub · 484 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 484 lines · 0 tokens per session scan A 06cbd03f0202

Subscribe to this mod's changes

agent-resource-discipline is a skill published in the GitHub repository a-attia/scicomp-research-skills (11 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 6,330 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens