agentCLAWHUBUnverified

code-formatter199

Format Python, JavaScript, TypeScript, JSON, HTML, CSS, and Go code snippets Skill: code-formatter199 Owner: hahg199 Summary: Format Python, JavaScript, TypeScript, JSON, HTML, CSS, and Go code snippets Tags: latest:1.0.0 Version history: v1.0.0 | 2026-05-22T14:56:36.768Z | user - Added HTML, CSS, and Go to supported languages. - Now provides clear error messages for invalid code or unsupported languages. - Outputs formatted code in a Markdown code block with language identifier. - Includes a

OpenClaw

Rank

62

Safety

84

Downloads

1.5k

Updated

Oct 10, 2026

Version

1.0.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 10, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 10, 2026
Adoption signal
1.5K downloadsadoption · observed Oct 10, 2026
Latest release
1.0.0release · observed May 22, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s17e841x48jmj2bhx9g4zz7eds869xkc:code-formatter199
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-hahg199-code-formatter199/snapshot"

Documentation

CLAWHUB

4,588 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: code-formatter
description: "Format Python, JavaScript, TypeScript, JSON, HTML, CSS, and Go code snippets"
version: 1.1.0
author: hahg199
tags:
  - code
  - formatter
  - python
  - javascript
  - typescript
  - json
  - html
  - css
  - go
---

## Description
This skill takes raw, poorly indented code and returns a nicely formatted, readable version following community standard style guides. It supports multiple languages and provides clear error messages when language is not recognized or code is invalid.

## Supported Languages & Style Rules
- **Python**: PEP 8 – 4 spaces per indentation level; no unnecessary blank lines; single quotes preferred.
- **JavaScript (JS)**: 2 spaces per level; semicolons optional but consistent; `{` on same line.
- **TypeScript (TS)**: same as JavaScript, plus explicit return types for functions when possible.
- **JSON**: 2 spaces; no trailing commas; no comments; keys in double quotes.
- **HTML**: 2 spaces per level; inline elements should not be broken across lines; self-closing tags for void elements.
- **CSS**: 2 spaces; one selector per line; opening brace on same line; space after colon.
- **Go**: use `gofmt` style – tabs for indentation (width 8); no extra spaces; consistent formatting.

## Instructions
When the user provides a code snippet and specifies (or implies) a language:

1. **Detect or ask for language** if not provided. Supported: python, javascript, typescript, json, html, css, go.
2. **Check for syntax errors** – if the code is clearly invalid (e.g., unmatched braces, missing quotes), inform the user and suggest correction before formatting.
3. **Apply the corresponding style rules** from above.
4. **Output the formatted code inside a Markdown code block** with the correct language identifier.
5. **Add a brief explanation** of what changes were made (e.g., "Added 2-space indentation and fixed spacing after commas").

If the language is not supported, respond with: "Sorry, I don't support formatting for {language} yet. Supported languages: python, javascript, typescript, json, html, css, go."

## Examples

### Example 1: Python
**User:** "Format this Python: def hello():print('world')"
**AI:** 
```python
def hello():
    print('world')

_meta.json

{
  "ownerId": "kn73rm0shjes1zfwt8ng8hpw198688sh",
  "slug": "code-formatter199",
  "version": "1.0.0",
  "publishedAt": 1779461796768
}

skill-card.md

## Description:

Format Python, JavaScript, TypeScript, JSON, HTML, CSS, and Go code snippets.

This skill is ready for commercial/non-commercial use.

## Publisher:

[hahg199](https://clawhub.ai/user/hahg199)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineers use this skill to reformat pasted code snippets into readable Markdown code blocks and receive a brief explanation of the formatting changes.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Formatted output may include incorrect syntax or unintended style changes because the skill provides manual formatting guidance rather than a guaranteed parser-backed formatter.

Mitigation: Review formatted output before using it in source code or configuration files.

## Reference(s):


## Skill Output:

**Output Type(s):** [text, markdown, code, guidance]

**Output Format:** [Markdown with fenced code blocks and a brief explanatory note]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Supports Python, JavaScript, TypeScript, JSON, HTML, CSS, and Go snippets.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
Github ReposUpdated 16h agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/hahg199/skills/code-formatter199",
      "sourceUrl": "https://clawhub.ai/hahg199/skills/code-formatter199",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-10T09:48:13.657Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-hahg199-code-formatter199/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-hahg199-code-formatter199/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-10T09:48:13.657Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1.5K downloads",
      "href": "https://clawhub.ai/hahg199/code-formatter199",
      "sourceUrl": "https://clawhub.ai/hahg199/code-formatter199",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-10T09:48:13.657Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.0",
      "href": "https://clawhub.ai/hahg199/code-formatter199",
      "sourceUrl": "https://clawhub.ai/hahg199/code-formatter199",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-05-22T14:56:36.768Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-hahg199-code-formatter199/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-hahg199-code-formatter199/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.0",
      "description": "- Added HTML, CSS, and Go to supported languages. - Now provides clear error messages for invalid code or unsupported languages. - Outputs formatted code in a Markdown code block with language identifier. - Includes a brief explanation of formatting changes after each output. - Updated instructions and examples for improved clarity.",
      "href": "https://clawhub.ai/hahg199/code-formatter199",
      "sourceUrl": "https://clawhub.ai/hahg199/code-formatter199",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-05-22T14:56:36.768Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 10, 2026.

Sponsored

Ads related to code-formatter199 and adjacent AI workflows.