memory-service: Skill for Claude Code

.skills/chat-frontend/SKILL.md

chat-frontend is a skill for Claude Code, Codex from chirino/memory-service. It costs 24 tokens per session (731 once invoked), scanned A, original, Apache-2.0.

A project guide for building the React chat frontend in a specific application. React is a JavaScript interface library, and this guide documents its components, styling, data fetching, and state handling.

In plain words
What is it for?
Changing the chat panel, conversation list, messages, sharing controls, reusable interface components, and frontend data or authentication logic.
Why use it?
It gives an agent the project’s expected structure and conventions, reducing the risk of editing the wrong files or using incompatible patterns.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is chirino/memory-service's own configuration. It tells Claude Code and Codex how to work on memory-service itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything memory-service configures →

Reuse

Borrowing it

Nothing to install: this file belongs to chirino/memory-service. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/chirino/memory-service/main/.skills/chat-frontend/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/chirino/memory-service

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 chat-frontend

README.md
[![agentmods](https://agentmods.dev/badge/skills/chirino/memory-service/chat-frontend.svg)](https://agentmods.dev/skills/chirino/memory-service/chat-frontend)
Your own site
<a href="https://agentmods.dev/skills/chirino/memory-service/chat-frontend"><img src="https://agentmods.dev/badge/skills/chirino/memory-service/chat-frontend.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 731 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00024 $0.00731
Opus 5 $0.00012 $0.00365
Sonnet 5 $0.00005 $0.00146
Haiku 4.5 $0.00002 $0.00073

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

Security

Grade A, and why

chat-frontend scanned grade A with 0 findings 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 7d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.skills/chat-frontend/SKILL.md · 74 lines

How it starts

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

Chat Frontend Context

Location: frontends/chat-frontend/

Tech Stack

  • React 19 with TypeScript, Vite 7 build tool
  • Tailwind CSS for styling (custom theme in tailwind.config.js)
  • TanStack React Query for server state
  • Radix UI primitives for accessible components
  • OpenAPI client auto-generated in src/client/

Key Directories

src/
├── components/           # React components
│   ├── ui/               # Reusable primitives (button, card, toggle)
│   ├── sharing/          # Access control modals
│   ├── conversation.tsx  # Headless chat primitives (core logic)
│   ├── conversations-ui.tsx  # Styled wrappers with Tailwind
│   ├── chat-panel.tsx    # Main chat interface
│   └── chat-sidebar.tsx  # Conversation list
├── hooks/                # useSseStream, useSharing, useResumeCheck
├── lib/                  # auth.tsx, utils.ts
└── client/               # Generated OpenAPI client (DO NOT EDIT)

Component Architecture

Headless Pattern: conversation.tsx provides unstyled primitives (Conversation.Root, .Viewport, .Messages, .Message, .Input, .Actions) with hooks (useConversationContext, useConversationMessages, etc.).

Styled Wrappers: conversations-ui.tsx wraps headless components with Tailwind styling.

Main Components:

  • App.tsx - Root layout (sidebar + chat panel)
  • chat-panel.tsx - Message display, input, fork UI, sharing
  • chat-sidebar.tsx - Conversation list with search

Styling

Custom Tailwind Theme (tailwind.config.js):

  • Colors: cream (bg), ink (text), mist (secondary), stone (muted), terracotta (accent), sage (secondary accent)
  • Fonts: Instrument Serif (headings), DM Sans (body), SF Mono (code)

Utility: cn() from lib/utils.ts merges classes with Tailwind conflict resolution.

State Management

  • React Query: Server state (conversations, messages, memberships)
  • Context: Auth (lib/auth.tsx), conversation state (conversation.tsx)
  • Local: UI-only state via useState

Read the full file on GitHub · 74 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. 7d ago First seen · 74 lines · 24 tokens per session scan A d5ef44ebe49d

Subscribe to this mod's changes

chat-frontend is a skill published in the GitHub repository chirino/memory-service (11 stars, last pushed 3d ago), licensed Apache-2.0. It adds 24 tokens to every session and 731 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. 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

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

ui-checkstyle

Run the exact ESLint + Prettier + organize-imports sequence that CI's UI Checkstyle workflow runs — on just the files the PR changed — and fail the task if any file ends up with a diff. Invoke after authoring or modifying any .ts, .tsx, .js, .jsx, or .json file under openmetadata-ui/src/main/resources/ui/src/…

open-metadata/OpenMetadata · 122 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

21st-ui

Find, install, and generate UI with 21st.dev. Use when the user asks for a UI component (pricing table, hero, navbar, dashboard, form, etc.), wants design inspiration, needs a brand logo as an SVG component, or wants to generate new UI from a prompt.

21st-dev/magic-mcp · 63 tokens

moai-design-tools

Design tool integration specialist covering Figma MCP, Pencil renderer, and Pencil-to-code export. Use when fetching design context from Figma, rendering Pencil designs, or exporting to React/Tailwind code.

modu-ai/moai-adk · 45 tokens

byted-util-vite-react-tailwind

A setup guide for building frontend projects with Vite, React, Tailwind CSS, TypeScript, and Lucide icons.

bytedance/agentkit-samples · 64 tokens