Coding

1panel-skills

Query monitoring, configuration, status, and logs from an authenticated 1Panel instance.

What it does

Inspect a 1Panel instance through authenticated HTTP API calls for monitoring, websites, apps, containers, logs, cronjobs, tasks, and nodes. It uses bundled TypeScript modules and a CLI to list or search targets before reading details, status, configuration, metrics, or logs. Current actions focus on queries; mutation endpoints are reserved for intentional future implementation.

When to use it

  • Investigating resource usage and top processes
  • Reading website, HTTPS, certificate, or Nginx details
  • Inspecting container status, statistics, and logs
  • Reviewing cronjob records and system logs

The skill document

1panel-skills

Overview

Use this skill to interact with a 1Panel instance through authenticated HTTP API calls. The bundled resources are TypeScript source files grouped by module, with query-oriented actions implemented now and mutation endpoints reserved for later expansion.

Requirements

  • Require a 1Panel API key with access to the target instance.
  • Require these environment variables when executing the TypeScript resources in a host runtime:
    • ONEPANEL_BASE_URL
    • ONEPANEL_API_KEY
    • optional: ONEPANEL_TIMEOUT_MS
    • optional: ONEPANEL_SKIP_TLS_VERIFY=true

Workflow

  1. Choose the module that matches the user's request.
  2. Start with a list or search action to identify the exact target.
  3. Read detail, status, or logs only after the target is confirmed.
  4. If the user asks for create, update, delete, restart, stop, or any other mutation:
    • do not fabricate or guess a write workflow
    • surface the matching reserved mutation endpoint from the module
    • implement the write path only when that behavior is intentionally added to the skill

Module Groups

  • monitoring Resource monitoring, dashboard current status, top processes, historical monitor data, GPU history.
  • websites Website list/detail, Nginx config reads, domain list, HTTPS config, SSL certificate reads, website log reads.
  • apps App catalog lookup, installed app list, installed app detail, service list, port/connection info.
  • containers Container list/status/detail, inspect, stats, streaming log reads.
  • logs Operation logs, login logs, system log file list, generic line-by-line log reads.
  • cronjobs Cronjob list/detail, next execution preview, execution records, record log reads.
  • task-center 1Panel task-center list and executing count.
  • nodes Node list, simple node list, node options, node summary. Some endpoints may require Pro/XPack.

Resources

  • references/module-groups.md Human-readable overview of module boundaries, common entrypoints, and reserved write scope.
  • scripts/client.ts Shared authenticated 1Panel client.
  • scripts/cli.ts Executable CLI entry for runtime or shell-based tool calls.
  • scripts/index.ts Registry of all module definitions.
  • scripts/modules/*.ts Module-specific actions and reserved mutation endpoint definitions.

Execution Notes

  • Prefer the CLI instead of letting the model construct signed HTTP requests itself.
  • The repository can ship prebuilt runtime files under dist/, so normal use should call node dist/scripts/cli.js ... directly without rebuilding first.
  • Run npm run build only after changing TypeScript source files such as scripts/**/*.ts.
  • If the host runtime can execute TypeScript directly, import from scripts/index.ts and call the module actions.
  • If the runtime cannot execute TypeScript directly, use the TypeScript files as the source of truth for methods, paths, query parameters, and request payload shapes.
  • The current implementation focuses on query and inspection actions; extend the reserved mutation definitions when you intentionally add managed write flows.

Questions people ask

What credentials and configuration are required?
Provide a 1Panel API key with access to the target instance and set `ONEPANEL_BASE_URL` and `ONEPANEL_API_KEY`. Timeout and TLS verification behavior can be adjusted with the documented optional environment variables.
Can it create, update, delete, restart, or stop resources?
Not through the current implemented workflow. For mutation requests, it surfaces the matching reserved endpoint rather than guessing a write operation; the write path must be intentionally added first.
What 1Panel data can it inspect?
It covers resource and GPU monitoring, websites and certificates, apps and services, containers and streaming logs, operation and system logs, cronjobs, task-center status, and nodes. Some node endpoints may require Pro/XPack.

Related skills

Update installed skills with diff review, backups, approved migrations, verification, and rollback.

92 installs6 stars

Inspect skill packages locally and produce a structured report on capabilities, risks, warnings, and trust dependencies.

128 installs

Build and manage persona packs with defined identity, capabilities, runtime settings, and ethical boundaries.

69 installs1 stars

Observe and automate macOS desktop interfaces through accessibility trees and structured CLI output.

52 installs

Run OpenJobs agent workflows on Solana through the official CLI, from onboarding to payout.

75 installs2 stars

Manage ClickFunnels 2.0 contacts, products, orders, courses, forms, fulfillments, images, and webhooks via API.

147 installs3 stars