Agent skill

Memstack Security Rls Guardian

by cwinvestments in cwinvestments/memstack

A skill your agent uses when creating or altering database tables in Supabase or PostgreSQL projects.

ProprietaryAuto-check passedDatabases

Install Memstack Security Rls Guardian

skills CLI
$ npx skills add cwinvestments/memstack --skill memstack-security-rls-guardian -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cwinvestments/memstack memstack-security-rls-guardian --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cwinvestments/memstack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/security/rls-guardian .claude/skills/memstack-security-rls-guardian && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
memstack-security-rls-guardian
GitHub stars
423
Token cost
~3.4k tokens
SKILL.md length
541 words
Files
1
Skills in repo
87
Repo updated
First seen
Licence
Proprietary

At a glance

A skill your agent uses when creating or altering database tables in Supabase or PostgreSQL projects.

  • Works in 5 steps: Classify the Table → Write the Migration → Pre-Commit Checklist → …
  • Altering database tables in Supabase
  • SKILL.md covers Activation, Context Guard, Common Mistakes and Protocol, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Memstack Security Rls Guardian is an agent skill from cwinvestments/memstack. Use this skill when creating or altering database tables in Supabase or PostgreSQL projects. Triggers include: CREATE TABLE, ALTER TABLE, migration files, 'RLS', 'row level security', 'new table', 'database schema'. Enforces Row Level Security policies on every table to prevent unauthorized data access. Do NOT use for general SQL queries or non-schema database tasks.

Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Databases, covering SQL and Database schema design. It works with SQL, Supabase and PostgreSQL. The repository describes itself as: Structured skill framework for Claude Code. 130 skills, persistent memory, TokenStack compression, localhost dashboard with 3-agent runner, real-time streaming, MCP tools.

When your agent uses it

  • Altering database tables in Supabase
  • PostgreSQL projects
  • Include: CREATE TABLE
  • Migration files

Example prompts

  • “row level security”
  • “new table”
  • “database schema”
  • “/memstack-security-rls-guardian”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Classify the Table
  2. Write the Migration
  3. Pre-Commit Checklist
  4. Audit Existing Tables
  5. Handle Special Cases

What it can do on your machine

Read from SKILL.md and the folder at commit 00370ce. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are sql and markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Memstack Security Rls Guardian loads about 3.4k tokens when it runs. Until then it costs about 100 tokens; SKILL.md has 541 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~100
When it runs · the whole SKILL.md, loaded when a task matches
~3.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Proprietary) doesn't allow us to republish the file, so here is its outline and opening line. It has 541 words (~3,362 tokens).

“Enforces Row Level Security on every Supabase table creation, ensuring no table goes live without proper access policies. Provides 4 policy patterns, migration templates, pre-commit checks, and audit queries to find unprotected tables.”

— opening of SKILL.md by cwinvestments, Proprietary
name
memstack-security-rls-guardian
version
1.0.0
license
Proprietary, MemStack™ Pro by CW Affiliate Investments LLC. See LICENSE.txt

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/security/rls-guardian of cwinvestments/memstack.

Open the folder on GitHubat commit 00370ce

Compare with similar skills

Memstack Security Rls Guardian next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Memstack Security Rls Guardian compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Memstack Security Rls Guardian this skillcwinvestments/memstack423—~3.4kAutomated safety check: PassProprietary
Expert DatabaseReJeCtAll/ExpertTeam-Codex113—~692Automated safety check: PassMIT
Firebaseericrisco/rsc-harness180—~3.3kAutomated safety check: PassMIT
Supabase Postgres Best Practicessupabase/agent-skills2.7k24 repos~808Automated safety check: PassMIT
Safe SQL Executionsupabase/supabase111k—~4.2kAutomated safety check: PassApache-2.0
Schema Explorationtimescale/pg-aiguide1.9k—~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • Expert Database

    ReJeCtAll/ExpertTeam-Codex

    数据库优化专家入口。用于 Codex CLI 的 $expert-database 调用. An agent skill from ReJeCtAll/ExpertTeam-Codex.

    113 GitHub stars~692 tokensUpdated 3 mo ago
    DatabasesAuto-check passed
  • Firebase

    ericrisco/rsc-harness

    A skill your agent uses when building on Firebase — Firestore data modeling, Security Rules, Auth and custom claims, Cloud Functions, Storage, modular Web/Admin SDK imports — including symptoms like…

    180 GitHub stars~3.3k tokensUpdated today
    DatabasesAuto-check passed
  • Official

    Gives the agent Postgres rules to consult before writing or changing tables, queries, indexes, RLS policies or migrations, and when diagnosing slow queries.

    2.7k GitHub starsUsed in 24 repos~808 tokens
    DatabasesAuto-check passed
  • Safe SQL Execution

    supabase/supabase

    Official

    A skill your agent uses whenever code will build, return, fetch, or execute SQL that runs against a user's real Postgres database — even when the request reads like an ordinary feature or bug fix…

    111k GitHub stars~4.2k tokensUpdated today
    DatabasesAuto-check passed
  • Schema Exploration

    timescale/pg-aiguide

    Explore an existing PostgreSQL database before answering questions about its data or writing SQL.

    1.9k GitHub stars~1.1k tokensUpdated 2 days ago
    DatabasesAuto-check passed
  • Replica Architect

    Jakeschincariol/replica-skill

    Plans the stack, database schema and API for an app clone, from the recon map replica-recon wrote.

    1.4k GitHub stars~1.1k tokensUpdated 6 days ago
    DatabasesAuto-check passed

More from cwinvestments/memstack

All 87 skills in this repo
  • Memstack SEO Site Audit

    cwinvestments/memstack

    A skill your agent uses when the user says 'SEO audit', 'site audit', 'check SEO', 'audit my site', 'SEO check', 'technical SEO', or is evaluating a website's search engine optimization health, meta…

    423 GitHub stars~3.5k tokensUpdated 13 days ago
    Auto-check passed
  • Memstack SEO Schema Markup

    cwinvestments/memstack

    A skill your agent uses when the user says 'add schema', 'schema markup', 'JSON-LD', 'structured data', 'rich results', 'rich snippets', or is adding or fixing schema.org structured data for better…

    423 GitHub stars~2.7k tokensUpdated 13 days ago
    Auto-check passed
  • Compress

    cwinvestments/memstack

    A skill your agent uses when the user says 'tokenstack', 'compression', 'token savings', 'proxy status', or asks about context window usage.

    423 GitHub stars~1.2k tokensUpdated 13 days ago
    Auto-check passed
  • Diary

    cwinvestments/memstack

    A skill your agent uses when the user says 'save diary', 'log session', 'wrapping up', or at end of a productive session.

    423 GitHub stars~5k tokensUpdated 13 days ago
    Auto-check passed
  • Echo

    cwinvestments/memstack

    A skill your agent uses when the user references past sessions, asks 'what did we do', 'do you remember', 'last session', 'recall', or 'continue from'.

    423 GitHub stars~1.7k tokensUpdated 13 days ago
    Auto-check passed
  • Familiar

    cwinvestments/memstack

    A skill your agent uses when the user says 'dispatch', 'send familiar', 'split task', or needs work split across parallel CC sessions.

    423 GitHub stars~556 tokensUpdated 13 days ago
    Auto-check passed

Categories

Questions about Memstack Security Rls Guardian

What does Memstack Security Rls Guardian do?

A skill your agent uses when creating or altering database tables in Supabase or PostgreSQL projects. Memstack Security Rls Guardian is an agent skill from cwinvestments/memstack. Use this skill when creating or altering database tables in Supabase or PostgreSQL projects.

When should I use Memstack Security Rls Guardian?

Memstack Security Rls Guardian fits situations like: altering database tables in Supabase; postgreSQL projects; include: CREATE TABLE; migration files.

How do I install Memstack Security Rls Guardian in Claude Code?

Run `npx skills add cwinvestments/memstack --skill memstack-security-rls-guardian -a claude-code`. Or copy the skill folder (skills/security/rls-guardian in cwinvestments/memstack) into .claude/skills/memstack-security-rls-guardian in your project. Claude Code loads it when a task matches its description.

How do I install Memstack Security Rls Guardian in Codex?

Run `npx skills add cwinvestments/memstack --skill memstack-security-rls-guardian -a codex`. Or copy the skill folder (skills/security/rls-guardian in cwinvestments/memstack) into .agents/skills/memstack-security-rls-guardian in your project. Codex loads it when a task matches its description.

Can I use Memstack Security Rls Guardian in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cwinvestments/memstack --skill memstack-security-rls-guardian -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/memstack-security-rls-guardian, .gemini/skills/memstack-security-rls-guardian, .github/skills/memstack-security-rls-guardian and .opencode/skills/memstack-security-rls-guardian in your project.

What does Memstack Security Rls Guardian need to run?

SKILL.md names no scripts, command-line tools or credentials: Memstack Security Rls Guardian is instructions for the agent only.

Does Memstack Security Rls Guardian access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Memstack Security Rls Guardian safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Memstack Security Rls Guardian use?

Memstack Security Rls Guardian carries a proprietary licence (declared in SKILL.md). It is published on GitHub, but it is not open source: read the licence file before using or sharing it.

How many tokens does Memstack Security Rls Guardian use?

About 3.4k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Memstack Security Rls Guardian?

Skills that share tags, products or a category with Memstack Security Rls Guardian: Expert Database (ReJeCtAll/ExpertTeam-Codex, 113 stars), Firebase (ericrisco/rsc-harness, 180 stars), Supabase Postgres Best Practices (supabase/agent-skills, 2.7k stars) and Safe SQL Execution (supabase/supabase, 111k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Memstack Security Rls Guardian?

cwinvestments (a GitHub user) maintains it in cwinvestments/memstack, which has 423 GitHub stars. The repository holds 87 skills in this directory. The repository was last updated on September 26, 2026.

Source: cwinvestments/memstack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.