Skip to content
Back to skills

Cache Expert

ASecurity

Covers Dagger Engine caching internals including cache key derivation, invalidation, and the immutable DAG model. Use when debugging cache misses, unexpected invalidations, or implementing caching-related engine features.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 25, 2026
ai-agentsgobashdebuggingapi

Works with

  • api

Security analysis

A100/100

Pro scans all 15 files and shows the line behind each finding

Scanned September 25, 2026

npx -y skills add Najeebullah3124/awesome-claude-universe --skill cache-expert --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cache Expert?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cache Expert
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/najeebullah3124-cache-expert/badge)](https://www.skillsdirectory.com/skills/najeebullah3124-cache-expert)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cache-expert
description: Covers Dagger Engine caching internals including cache key derivation, invalidation, and the immutable DAG model. Use when debugging cache misses, unexpected invalidations, or implementing caching-related engine features.
---

# Cache Expert

## High-Level Architecture

The Dagger Engine serves a GraphQL-based API for building and executing DAG workflows.

Each operation takes immutable objects/scalar values as inputs and produces an immutable object/scalar value as output. "Mutability" is simulated as a DAG of these operations on immutable values, similar to functional programming.

This enables caching: since inputs are immutable and operations are deterministic, cache keys can be derived from the operation and its inputs.

DAGs of operations can be serialized as IDs, which have associated digests that serve as the operations' cache keys.

THERE ARE NO REFERENCES RIGHT NOW BECAUSE THESE DOCS ARE VERY OLD. THE SOURCE OF TRUTH IS THE CODE.

The only exception to this is references/debugging.md, which HAS CRITICAL INSTRUCTIONS on running tests and debugging generally.

## Scripts

- `scripts/dagql-cache-analyzer.go`
  Analyze `/debug/dagql/cache` snapshot dumps offline and summarize retained
  roots, result categories, and approximate cumulative closures.

  Usage:

  ```bash
  go run ./skills/cache-expert/scripts/dagql-cache-analyzer.go /tmp/dagql.cache.1
  ```

Files in this skill

  • SKILL.md1.4 KB
  • references/cache_persistence.md18.7 KB
  • references/cache_pruning.md17.5 KB
  • references/cachebasics.md12.6 KB
  • references/dagqltypes.md3.8 KB
  • references/debugging.md9.7 KB
  • references/dynamicinputs.md11.8 KB
  • references/egraph.md21.7 KB
  • references/filesync.md5.2 KB
  • references/lazy_evaluation.md21.5 KB
  • references/mutablecache.md10.4 KB
  • references/session_resources.md17.4 KB
  • references/typedefs.md8.8 KB
  • references/writingcoreapis.md14.9 KB
  • scripts/dagql-cache-analyzer.go19 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…