debugging-output-and-previewing-html-using-ray

debugging-output-and-previewing-html-using-ray is a skill for Claude Code, Codex from coollabsio/coolify. It costs 58 tokens per session (2,645 once invoked), scanned A, original, Apache-2.0.

A debugging guide for Ray, a desktop application that displays development logs, data, diagrams, and visual previews sent from code. It explains how applications send that information to Ray's local server.

In plain words
What is it for?
Use it to send PHP debugging output to Ray, inspect structured data, and preview HTML, logos, diagrams, or other visual content.
Why use it?
It gives developers a separate place to inspect values and visual output while troubleshooting, instead of relying only on a terminal or browser page.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

About the project

Coolify is a self-hosted platform for managing servers and deploying applications, databases, static sites, and other services on hardware controlled by the user. Developers and teams use it as an alternative to hosted application platforms such as Heroku, Netlify, and Vercel, while the catalogue entries help coding agents operate Coolify.

coollabsio/coolify · 61,421 stars · on GitHub · coolify.io

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.

agentmods
npx agentmods add skills/coollabsio/coolify/debugging-output-and-previewing-html-using-ray
Any agent
npx skills add coollabsio/coolify --skill debugging-output-and-previewing-html-using-ray
Clone the repo
git clone --depth 1 https://github.com/coollabsio/coolify

Made for: Claude Code, Codex.

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 debugging-output-and-previewing-html-using-ray

README.md
[![agentmods](https://agentmods.dev/badge/skills/coollabsio/coolify/debugging-output-and-previewing-html-using-ray.svg)](https://agentmods.dev/skills/coollabsio/coolify/debugging-output-and-previewing-html-using-ray)
Your own site
<a href="https://agentmods.dev/skills/coollabsio/coolify/debugging-output-and-previewing-html-using-ray"><img src="https://agentmods.dev/badge/skills/coollabsio/coolify/debugging-output-and-previewing-html-using-ray.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,645 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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.00058 $0.02645
Opus 5 $0.00029 $0.01323
Sonnet 5 $0.00012 $0.00529
Haiku 4.5 $0.00006 $0.00265

Measured 6d ago against content hash efebacf542ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

debugging-output-and-previewing-html-using-ray 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 6d 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 -X POST http://localhost:23517/ \
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.agents/skills/debugging-output-and-previewing-html-using-ray/SKILL.md · 415 lines

How it starts

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

Ray Skill

Overview

Ray is Spatie's desktop debugging application for developers. Send data directly to Ray by making HTTP requests to its local server.

This can be useful for debugging applications, or to preview design, logos, or other visual content.

This is what the ray() PHP function does under the hood.

Connection Details

Setting Default Environment Variable
Host localhost RAY_HOST
Port 23517 RAY_PORT
URL http://localhost:23517/ -

Request Format

Method: POST Content-Type: application/json User-Agent: Ray 1.0

Basic Request Structure

{
  "uuid": "unique-identifier-for-this-ray-instance",
  "payloads": [
    {
      "type": "log",
      "content": { },
      "origin": {
        "file": "/path/to/file.php",
        "line_number": 42,
        "hostname": "my-machine"
      }
    }
  ],
  "meta": {
    "ray_package_version": "1.0.0"
  }
}

Fields

Field Type Description
uuid string Unique identifier for this Ray instance. Reuse the same UUID to update an existing entry.
payloads array Array of payload objects to send
meta object Optional metadata (ray_package_version, project_name, php_version)

Origin Object

Every payload includes origin information:

{
  "file": "/Users/dev/project/app/Controller.php",
  "line_number": 42,
  "hostname": "dev-machine"
}

Payload Types

Log (Send Values)

{
  "type": "log",
  "content": {
    "values": ["Hello World", 42, {"key": "value"}]
  },
  "origin": { "file": "test.php", "line_number": 1, "hostname": "localhost" }
}

Custom (HTML/Text Content)

{
  "type": "custom",
  "content": {
    "content": "<h1>HTML Content</h1><p>With formatting</p>",
    "label": "My Label"
  },
  "origin": { "file": "test.php", "line_number": 1, "hostname": "localhost" }
}

Table

{
  "type": "table",
  "content": {
    "values": {"name": "John", "email": "[email protected]", "age": 30},
    "label": "User Data"
  },
  "origin": { "file": "test.php", "line_number": 1, "hostname": "localhost" }
}

Read the full file on GitHub · 415 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. 6d ago First seen · 415 lines · 58 tokens per session scan A efebacf542ec

Subscribe to this mod's changes

debugging-output-and-previewing-html-using-ray is a skill published in the GitHub repository coollabsio/coolify (61,421 stars, last pushed yesterday), licensed Apache-2.0. It adds 58 tokens to every session and 2,645 once invoked, about $0.0003 per session on Opus 5. 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

flyenv-module-boundaries

Use when adding or changing a FlyEnv module, renderer IPC flow, service lifecycle, background operation, download, installation, web panel, or external process.

xpf0000/FlyEnv · 37 tokens

Docker Testcontainers

Integration testing with real dependencies in throwaway Docker containers using the Testcontainers Node.js API - GenericContainer, exposed ports, wait strategies, module containers, Docker Compose environments, and reliable cleanup.

PramodDutta/qaskills · 42 tokens

refactor-claude-md

Use when about to refactor or refine a user-level or project-level CLAUDE.md.

vinta/hal-9000 · 25 tokens

ai-article

AI 类文章撰写。三种风格:安装教程、产品评测、面试八股。覆盖 AI Coding 工具实测、AI 开发框架应用、大模型测评、Agent/Skills/RAG 技术讲解。.

itwanger/toBeBetterJavaer · 57 tokens

job-article

根据指定选题,按照二哥的写作风格完成求职/校招/面试/职场类文章撰写。专注于秋招春招建议、公司薪资爆料+学习路线、面经八股解析、求职心态与球友故事分享。触发关键词:写一篇求职文章、秋招、春招、校招、offer、面经、薪资、面试、八股、简历、求职建议、球友故事、学习路线等。.

itwanger/toBeBetterJavaer · 118 tokens

update-playbooks

(project) Use when updating install tasks in playbooks/roles/ against upstream docs — bumping a pinned version, adopting a newly recommended install method, repointing a doc link that moved, or realigning the community.general pin with the brew-installed ansible.

vinta/hal-9000 · 56 tokens