Skip to content
Back to skills

Source Be327a352d69d4da5ad9c5d9

ASecurity

Catalyst Cache — in-memory key-value store with TTL for ephemeral session and temporary data. Trigger on 'Cache', 'cache segment', 'cache key', 'TTL', 'segment.put', 'segment.get', or 'temporary data Catalyst'.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsgo

Works with

  • mcp

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add gutsofpratik/OpenClaude-Skills --skill source-be327a352d69d4da5ad9c5d9 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Source Be327a352d69d4da5ad9c5d9?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Source Be327a352d69d4da5ad9c5d9
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gutsofpratik-source-be327a352d69d4da5ad9c5d9/badge)](https://www.skillsdirectory.com/skills/gutsofpratik-source-be327a352d69d4da5ad9c5d9)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: catalyst-cache
description: "Catalyst Cache — in-memory key-value store with TTL for ephemeral session and temporary data. Trigger on 'Cache', 'cache segment', 'cache key', 'TTL', 'segment.put', 'segment.get', or 'temporary data Catalyst'."
metadata:
  version: "2.1.0"
---

## How It Works

> **Before any MCP call, establish context once per session** via the workspace readiness gate: `../catalyst-basics/references/preflight.md`. It resolves and reconciles the org/project so `CatalystbyZoho_List_All_Segments` targets the right project.

1. **Get Segment ID** — Use MCP (`CatalystbyZoho_List_All_Segments`) if available; otherwise retrieve it from the console or `.catalystrc`.
2. **Load `references/cache-basics.md`** — for SDK operations, TTL limits (48 hr max), and the `segment.delete()` / `segment.update()` gotchas.
3. **String values only** — All cache values are strings. Always `JSON.stringify` before `put` and `JSON.parse` after `get`.
4. **TTL behavior** — `segment.update(key, value)` **without** an expiry argument resets the TTL to 48 hours (the max), *not* the key's original TTL. Always pass the TTL explicitly (in hours) to preserve it: `segment.update(key, value, ttlHours)`. `segment.delete()` returns `null` (not an error) if the key is missing.

## Triggers

Use this skill for: "Cache", "cache segment", "cache key", "cache value", "TTL", "in-memory store", `segment.get`, `segment.put`, `segment.delete`, "session data", "temporary data Catalyst", "cache vs Data Store", or "48-hour cache".

## References

| Reference | Load when the query is about… |
|-----------|-------------------------------|
| `references/cache-basics.md` | SDK operations (get, put, delete, update), Segment ID, 48hr TTL max, string-only values, segment.delete() null gotcha, segment.update() TTL gotcha |

Files in this skill

  • PROVENANCE.json214 B
  • SKILL.md1.8 KB
  • UPSTREAM-LICENSE.txt11.1 KB
  • references/cache-basics.md4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.