aps-doc-core

aps-doc-core is a skill for Claude Code from treasure-data/td-skills. It costs 38 tokens per session (3,374 once invoked), scanned A, original, Apache-2.0.

A shared framework for generating documentation for Treasure Data pipeline layers. It includes templates, quality checks, tests, and Confluence integration; Confluence is a tool for storing team documentation.

In plain words
What is it for?
It is for creating and checking pipeline documentation, testing documentation output, and sending it to Confluence.
Why use it?
It gives different documentation tasks a common structure and validation process instead of handling each layer separately.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the aps-doc-skills plugin — 6 skills shipped together

Good fit It is for creating and checking pipeline documentation, testing documentation output, and sending it to Confluence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/treasure-data/td-skills/core
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 treasure-data/td-skills --skill core
Clone the repo
git clone --depth 1 https://github.com/treasure-data/td-skills

Made for: Claude Code.

Or install aps-doc-skills, the plugin that ships this one along with the rest of its 6 skills.

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 aps-doc-core

README.md
[![agentmods](https://agentmods.dev/badge/skills/treasure-data/td-skills/core/github.svg)](https://agentmods.dev/skills/treasure-data/td-skills/core)
Your own site
<a href="https://agentmods.dev/skills/treasure-data/td-skills/core"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/core/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 aps-doc-core

Your own site · 80×15
<a href="https://agentmods.dev/skills/treasure-data/td-skills/core"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,374 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 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.00038 $0.03374
Opus 5.5 $0.00015 $0.01350
Sonnet 5.5 $0.00008 $0.00675
Haiku 4.5 $0.00004 $0.00337

Measured 3mo ago against content hash 22f10864f8c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aps-doc-core 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 3mo 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.

aps-doc-skills/core/SKILL.md · 567 lines

How it starts

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

APS Documentation Core

Core documentation generation framework providing shared patterns, templates, and utilities used by all APS layer-specific documentation skills (ingestion, hist-union, staging, id-unification, golden).

When to Use This Skill

Use this skill when:

  • Creating custom documentation that doesn't fit standard layer types
  • Understanding core documentation generation principles
  • Extending layer-specific skills with new patterns
  • Implementing custom documentation workflows

Note: For layer-specific documentation, use the specialized skills:

  • aps-doc-skills:ingestion for ingestion layers
  • aps-doc-skills:hist-union for hist-union workflows
  • aps-doc-skills:staging for staging transformations
  • aps-doc-skills:id-unification for ID unification
  • aps-doc-skills:golden for golden layers

🚨 MANDATORY: Codebase Access Required

WITHOUT codebase access = NO documentation. Period.

If no codebase access provided:

I cannot create technical documentation without codebase access.

Required:
- Directory path to code
- Access to relevant files (.dig, .sql, .yml)

Without access, I cannot extract real configurations, SQL, or workflow logic.
Provide path: "Code is in /path/to/layer/"

Before proceeding:

  1. Ask for codebase path if not provided
  2. Verify files exist using Glob/Read
  3. STOP if cannot read files

All documentation MUST contain real data from codebase:

  • Actual table/database/column names
  • Real file paths with line numbers
  • Working code examples from actual files
  • Extracted configurations, not placeholders

NO generic templates. Only production-ready, codebase-driven documentation.


Core Principles

1. Template-Based Documentation

All documentation follows a template-driven approach:

Process:

  1. User provides or references existing Confluence template
  2. Skill analyzes template structure (sections, formatting, patterns)
  3. Skill explores codebase to extract implementation details
  4. Skill generates documentation matching template with actual data
  5. Skill validates and publishes to Confluence

Read the full file on GitHub · 567 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. 3mo ago First seen · 567 lines · 38 tokens per session scan A 22f10864f8c3

Subscribe to this mod's changes

aps-doc-core is a skill published in the GitHub repository treasure-data/td-skills (23 stars, last pushed today), licensed Apache-2.0. It adds 38 tokens to every session and 3,374 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

aps-doc-core compared with skills from other repositories

aps-doc-core next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aps-doc-coretreasure-data/td-skillsSkill23todayApache-2.0A38Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code