agentleFS
auth-02auth-02/skills/dak/SKILL.md

dak

Skill1 starsChanged 5 months agoMITView on GitHub

Turn any local artifact — HTML report, Markdown notes, dashboard, PDF, or directory — into a shareable https:// URL with one command, via free Cloudflare Workers hosting. Use whenever the user wants to SHARE or SEND generated output rather than attach it — "send me a link", "publish/share/host this", "put this online", "make this shareable" — or as the final step after generating a report/dashboard when a link back is expected. Two modes: snapshot (frozen) and live (updates on re-publish). NOT for deploying full applications, CI/CD, or git-based hosting.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. LittleLittleCloud/The-Grand-Archive★ 9same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository6 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check/set yours at: dash.cloudflare.com → Workers & Pages → Your subdomain

    line 26
  2. Very specific:

    After setup, the URL is constructed locally as https://<name>.<subdomain>.workers.dev — no parsing of wrangler output needed.

    line 28

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Dak — local artifact → shareable URL

Dak turns a generated file into a link. An agent produces something — a report, a dashboard, notes, a diagram — and instead of handing over a file, it publishes and returns a URL.

Generate → Publish → Share link.

First-time setup

python3 scripts/dak.py setup

Interactive prompts — walks through three values and saves them to ~/.dak/config.json:

  1. Cloudflare API token — create at dash.cloudflare.com/profile/api-tokens with permission: Workers Scripts: Edit
  2. Account ID — visible in the Cloudflare dashboard sidebar under Workers & Pages
  3. workers.dev subdomain — convention is <username>-dak (e.g. atharva-dak) Check/set yours at: dash.cloudflare.com → Workers & Pages → Your subdomain

After setup, the URL is constructed locally as https://<name>.<subdomain>.workers.dev — no parsing of wrangler output needed.

Publishing

# live (default) — stable URL, updates on redeploy
python3 scripts/dak.py report.html

# snapshot — frozen, unique URL per publish
python3 scripts/dak.py report.html --mode snapshot

Prints only the URL to stdout. Composes cleanly in agent pipelines.

Input types

  • .html → served as-is.
  • .md / .markdown → rendered to a clean HTML page (code, tables, links).
  • directory → deployed as-is; generates an index if none exists.
  • .pdf / image → embedded in a minimal viewer page.
  • any other file → served with a download index.

Options

FlagPurpose
--mode snapshot|livedefault live
--slug NAMEworker name for live mode; also base for snapshot names
--title Tpage <title>
--dry-runshow URL + wrangler command without deploying

Other commands

python3 scripts/dak.py doctor       # check config + credentials
python3 scripts/dak.py list         # all published artifacts
python3 scripts/dak.py unpublish <worker-name>   # deletes the worker from Cloudflare
                                                 # AND removes it from the local manifest

URL format

https://<worker-name>.<subdomain>.workers.dev

# snapshot:  https://report-a1b2c3.atharva-dak.workers.dev
# live:      https://portfolio.atharva-dak.workers.dev

Config file

~/.dak/config.json — stores token, account ID, and subdomain. ~/.dak/manifest.json — local record of all published artifacts.

Credentials are read from config first, falling back to CLOUDFLARE_API_TOKEN / CLOUDFLARE_ACCOUNT_ID env vars if config isn't set up yet.

Notes

  • Free Cloudflare Workers: unlimited requests, no bandwidth cap.
  • Nothing leaves the machine until a deploy command runs.
  • The wrangler.jsonc is written into a temp dir and deleted after deploy.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.