Skip to content

CMSCardOS/cardos-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CardOS for AI agents

Drop-in instructions & skills that make any AI assistant integrate CardOS correctly and safely.

License: MIT AGENTS.md

Building with the CardOS virtual-card API and using an AI coding assistant? Copy the file(s) for your tool into your project and your agent will know how to issue and manage cards the right way — auth, sandbox-first, idempotent money operations, no raw card data, signed webhooks.

What's here

File For What it does
AGENTS.md Any agent (Cursor, Codex, Claude Code…) The universal guide — auth, SDK, idempotency, webhooks, safety rules, common flows. Follows the agents.md standard.
skills/cardos/ Claude Code A /cardos skill (SKILL.md + REFERENCE.md) that knows how to issue/manage cards via the SDK or MCP.
.cursor/rules/cardos.mdc Cursor A project rule with the CardOS do's and don'ts.
CLAUDE.md Claude Code Project memory pointing at the guide + skill.
.windsurfrules Windsurf Condensed rules.
llms.txt LLMs / discovery Machine-readable summary.

Use it

Cursor — copy .cursor/rules/cardos.mdc into your repo's .cursor/rules/.

Claude Code — copy skills/cardos/ into your project's .claude/skills/ (or personal ~/.claude/skills/), and/or drop CLAUDE.md + AGENTS.md at the repo root. Then ask: "Issue a CardOS card for user 123456."

Codex / other agents — put AGENTS.md at your repo root.

Windsurf — copy .windsurfrules to your repo root.

The short version

  • Use the cardos SDK (TS) or the cardos-mcp server (AI clients) — don't hand-roll HTTP.
  • API key is server-side only; cms_sk_test_… = sandbox. Default to sandbox; confirm before live money actions.
  • Money operations are idempotent. Never display or log full card numbers — use hosted reveal/session links. Verify webhook signatures on the raw body.

Links

License

MIT

About

AI-agent instructions & skills for the CardOS API — drop-in AGENTS.md, Claude Code skill, Cursor/Windsurf rules.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors