Xpersona
C

ctr-json-normalizer

CLAWHUB · Unverified

Normalize the final JSON output of a single-session CTR product-card click diagnosis. Use after the diagnosis draft is complete and before replying, whenever the report must contain exactly the agreed query, clicked item, unclicked items, five fixed dimensions, structured suggestions, and limitations. Skill: ctr-json-normalizer Owner: rawven Summary: Normalize the final JSON output of a single-session CTR product-card click diagnosis. Use after the diagnosis draft is complete and before replying, whenever the report must contain exactly the agreed query, clicked item, unclicked items, five fixed dimensions, structured suggestions, and limitations. Tags: latest:0.1.0 Version history: v0.1.0 | 2026-08-15T08:09:13.22

62
Rank
84
Safety
1.6k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.6K 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

Install and run

Setup complexity: low.

clawhub skill install s178t2fxzjz0v8yxcg3emqtq498cgd4w:ctr-json-normalizer
  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-rawven-ctr-json-normalizer/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

5,163 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: ctr-json-normalizer
description: Normalize the final JSON output of a single-session CTR product-card click diagnosis. Use after the diagnosis draft is complete and before replying, whenever the report must contain exactly the agreed query, clicked item, unclicked items, five fixed dimensions, structured suggestions, and limitations.
---

# CTR JSON Normalizer

Run this Skill once as the final step of every CTR diagnosis. It formats and validates a completed diagnosis; it does not fetch images, compare products, infer causes, or write new business suggestions.

## Input

Pass one JSON object through stdin:

```json
{
  "session": { "query": "", "clicked_item_id": "", "items": [] },
  "report": { }
}
```

`report` may be a JSON object or a JSON string. `session.items` must be the original card list, with `item_id`, `position`, and `clicked` where available.

## Run

```bash
python3 scripts/normalize_ctr_report.py <<'JSON'
{ "session": { "query": "...", "clicked_item_id": "...", "items": [] }, "report": {} }
JSON
```

## Required Workflow

1. Finish all comparison and image-fact collection first.
2. Build the diagnosis draft as JSON, using evidence already collected.
3. Run `scripts/normalize_ctr_report.py` with the original session and the draft.
4. If it returns `error`, fix the draft JSON and run it again.
5. Return the script stdout verbatim. Do not wrap it in Markdown or append explanatory text.

The script fixes only the report envelope: root fields, candidate item coverage, dimension order, allowed status values, suggestion field shape, and limitations. A missing dimension becomes `unknown` with no suggestion; no factual claim is invented.

README.md

# ctr-json-normalizer
Normalize structured JSON reports for single-session CTR product-card click diagnoses.

_meta.json

{
  "ownerId": "kn70wykycqrsb3zaj7361cbbw18cg811",
  "slug": "ctr-json-normalizer",
  "version": "0.1.0",
  "publishedAt": 1786781353227
}

skill-card.md

## Description:

Normalize the final JSON output of a single-session CTR product-card click diagnosis.

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

## Publisher:

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

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agents use this skill as the final step in a CTR product-card click diagnosis to normalize a completed draft into the required JSON report contract before responding.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Malformed or incomplete diagnosis drafts can produce an error response or unknown fields in the normalized JSON.

Mitigation: Review the report data supplied to the script, fix invalid drafts, and rerun the normalizer until the output satisfies the required JSON contract.

Risk: The skill normalizes existing CTR diagnosis data but does not verify factual claims, fetch images, compare products, or generate new business suggestions.

Mitigation: Complete evidence collection and diagnosis drafting before running the normalizer, then review the normalized output before using it in downstream decisions.

## Reference(s):

- [Source repository](https://github.com/Rawven/ctr-json-normalizer)
- [ClawHub skill page](https://clawhub.ai/rawven/skills/ctr-json-normalizer)

## Skill Output:

**Output Type(s):** [JSON, Shell commands, Guidance]

**Output Format:** [Minified JSON emitted to stdout, with shell command usage instructions in the skill workflow]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Returns an error JSON object when the supplied draft cannot be parsed or normalized.]

## Skill Version(s):

0.1.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.

Sponsored

Ads related to ctr-json-normalizer and adjacent AI workflows.