← Back to Skills Marketplace
ivangdavila

Deno

by Iván · GitHub ↗ · v1.0.0
linuxdarwinwin32 ✓ Security Clean
663
Downloads
2
Stars
4
Active Installs
1
Versions
Install in OpenClaw
/install deno
Description
Build with Deno runtime avoiding permission gotchas, URL import traps, and Node.js migration pitfalls.
README (SKILL.md)

When to Use

User needs Deno expertise — secure TypeScript runtime with permissions model. Agent handles permission configuration, dependency management via URLs/npm, and migration from Node.js.

Quick Reference

Topic File
Permission system permissions.md
Imports and dependencies imports.md
Node.js migration node-compat.md

Permission Traps

  • --allow-all in development — then production crashes because you don't know what permissions you actually need
  • --allow-read without path — grants access to entire filesystem, security hole
  • --allow-run without list — subprocess can run anything, specify: --allow-run=git,npm
  • --allow-env without list — leaks all env vars, specify: --allow-env=API_KEY,DATABASE_URL
  • --allow-net without list — can connect anywhere, specify hosts: --allow-net=api.example.com
  • Missing permission in CI — hangs waiting for prompt that never comes, add --no-prompt

Import Traps

  • Remote URLs in production — network failure = app won't start, vendor dependencies locally
  • No lockfile by default — deps can change between runs, always use deno.lock
  • @^1.0.0 semver syntax doesn't exist — use exact URLs or import maps
  • Import maps in wrong place — must be in deno.json, not separate file (Deno 2.x)
  • HTTPS required — HTTP imports blocked by default, most CDNs work but self-hosted may not
  • URL typo — no error until runtime when import fails

TypeScript Traps

  • .ts extension required in imports — model generates extensionless imports that fail
  • tsconfig.json paths ignored — Deno uses import maps in deno.json, not tsconfig
  • Type-only imports — must use import type or bundler may fail
  • Decorators — experimental, different from tsc behavior
  • /// \x3Creference> — handled differently than tsc, may be ignored

Deployment Traps

  • deno compile includes runtime — binary is 50MB+ minimum
  • --cached-only requires prior cache — fresh server needs deno cache first
  • Deno Deploy limitations — no filesystem, no subprocess, no FFI
  • Environment variables — different API: Deno.env.get("VAR") not process.env.VAR
  • Signals — Deno.addSignalListener not process.on("SIGTERM")

Testing Traps

  • Deno.test different from Jest — no describe, different assertions
  • Async test without await — test passes before promise resolves
  • Resource leaks — tests fail if you don't close files/connections
  • Permissions in tests — test may need different permissions than main code
  • Snapshot testing — format differs from Jest snapshots

npm Compatibility Traps

  • npm: specifier — works for most packages but native addons fail
  • node: specifier required — import fs from 'fs' fails, need import fs from 'node:fs'
  • node_modules optional — enable with "nodeModulesDir": true in deno.json
  • package.json scripts — not automatically supported, use deno.json tasks
  • Peer dependencies — handled differently, may get wrong versions

Runtime Differences

  • Deno.readTextFile vs fs.readFile — different API, different error types
  • fetch is global — no import needed, unlike Node 18-
  • Top-level await — works everywhere, no wrapper needed
  • Permissions at runtime — can request dynamically but user must approve
Usage Guidance
This skill is a documentation-only helper for using Deno; it does not include code or request secrets. Before enabling it, ensure the agent environment actually has a trusted deno binary (the skill assumes deno is present) and be aware that any agent action that runs deno with broad permission flags (e.g., --allow-all or --allow-read without paths) could allow access to files and environment variables — that risk comes from how you run deno, not from this skill. If you plan to let the agent execute commands on your machine, enforce least-privilege when invoking deno and prefer vendoring and lockfiles for production as the docs recommend.
Capability Analysis
Type: OpenClaw Skill Name: deno Version: 1.0.0 The OpenClaw AgentSkills bundle for Deno is benign. It consists entirely of documentation (`SKILL.md`, `imports.md`, `node-compat.md`, `permissions.md`) providing educational content, best practices, and warnings about common pitfalls and security risks when working with the Deno runtime. Crucially, sections discussing security vulnerabilities (e.g., 'Permission Traps' in `SKILL.md`, 'Permission Combinations' in `permissions.md`) are framed as warnings and educational material to help users *avoid* insecure configurations, rather than instructions for the AI agent to perform malicious actions or exploit vulnerabilities. There is no evidence of prompt injection, data exfiltration, malicious execution, persistence mechanisms, or obfuscation.
Capability Assessment
Purpose & Capability
Name and description match the content: all files are Deno-focused guidance (permissions, imports, Node migration). The only runtime requirement is the 'deno' binary, which is appropriate for a Deno troubleshooting/authoring skill.
Instruction Scope
SKILL.md and supporting docs contain best-practice commands and examples (deno run, deno cache, deno vendor, etc.) and focus on Deno-specific risks. The documents include illustrative examples (e.g., showing that broad --allow-read could expose /etc/passwd) but do not instruct the agent to read unrelated host files or to exfiltrate data; all commands and file/path references are relevant to Deno usage and deployment.
Install Mechanism
No install spec and no included code files — instruction-only. That minimizes risk: nothing is downloaded or written to disk by the skill itself.
Credentials
The skill declares no required environment variables or credentials. The docs discuss how to scope runtime permission flags (e.g., --allow-env=API_KEY) as guidance, which is appropriate and proportional for a Deno-focused guide.
Persistence & Privilege
always is false and there is no mechanism to persist or modify other skills or global agent settings. Model invocation is allowed (normal default) but the skill itself does not request elevated platform privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install deno
  3. After installation, invoke the skill by name or use /deno
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug deno
Version 1.0.0
License
All-time Installs 4
Active Installs 4
Total Versions 1
Frequently Asked Questions

What is Deno?

Build with Deno runtime avoiding permission gotchas, URL import traps, and Node.js migration pitfalls. It is an AI Agent Skill for Claude Code / OpenClaw, with 663 downloads so far.

How do I install Deno?

Run "/install deno" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Deno free?

Yes, Deno is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Deno support?

Deno is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin, win32).

Who created Deno?

It is built and maintained by Iván (@ivangdavila); the current version is v1.0.0.

💬 Comments