Agent skill

Codememory Mark Constraint

by harrylettering in harrylettering/CodeMemory

A skill your agent uses to durably record a hard constraint or invariant that the work must respect.

No licenceAuto-check passedAI & LLM Engineering

Install Codememory Mark Constraint

skills CLI
$ npx skills add harrylettering/CodeMemory --skill codememory-mark-constraint -a claude-code

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

GitHub CLI
$ gh skill install harrylettering/CodeMemory codememory-mark-constraint --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/harrylettering/CodeMemory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codememory-mark-constraint .claude/skills/codememory-mark-constraint && 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
codememory-mark-constraint
GitHub stars
158
Token cost
~793 tokens
SKILL.md length
291 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

A skill your agent uses to durably record a hard constraint or invariant that the work must respect.

  • Durably record a hard constraint
  • SKILL.md covers When to Use, How to Invoke and Authoring Guidance
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Invariant that the work must respect

What it does

Codememory Mark Constraint is an agent skill from harrylettering/CodeMemory. Use this skill to durably record a hard constraint or invariant that the work must respect. Invoke when the user states a must-not-break rule, a compatibility boundary, a performance budget, a security/compliance requirement, or any other guardrail that should outlive compaction. Do NOT invoke for soft preferences, style nudges, or constraints already captured earlier in the session.

Its SKILL.md is about 790 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 AI & LLM Engineering, covering Web performance and SOC 2 and security compliance. The repository describes itself as: A memory layer for Claude Code.

When your agent uses it

  • Durably record a hard constraint
  • Invariant that the work must respect
  • States a must-not-break rule
  • A compatibility boundary

Example prompts

  • “/codememory-mark-constraint”

What it can do on your machine

Read from SKILL.md and the folder at commit b7e96f7. 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 bash).

    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

Codememory Mark Constraint loads about 793 tokens when it runs. Until then it costs about 103 tokens; SKILL.md has 291 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 291 words (~793 tokens).

“Persists a single hard constraint into the CodeMemory memory store via the per-session daemon. The result is a Memory Node tagged constraint + requirement that future turns can consult before making decisions.”

— opening of SKILL.md by harrylettering
name
codememory-mark-constraint
version
0.1.0

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/codememory-mark-constraint of harrylettering/CodeMemory.

Open the folder on GitHubat commit b7e96f7

Compare with similar skills

Codememory Mark Constraint 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.

Codememory Mark Constraint compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codememory Mark Constraint this skillharrylettering/CodeMemory158—~793Automated safety check: PassNone
Fetchpriority Attributethedaviddias/Front-End-Checklist74k—~535Automated safety check: PassMIT
Assemblyai Reference Architecturejeremylongshore/tons-of-skills-marketplace2.8k—~1.1kAutomated safety check: PassMIT
Reduce Bundle Sizekcsujeet/ilamy-calendar351—~2.9kAutomated safety check: PassMIT
Prompt Engineer Toolkitalirezarezvani/claude-skills28k—~1.4kAutomated safety check: PassMIT
Performanceyonatangross/orchestkit289—~3.5kAutomated safety check: PassMIT

Similar skills

  • Fetchpriority Attribute

    thedaviddias/Front-End-Checklist

    A skill your agent uses when optimising Largest Contentful Paint (LCP), reducing render-blocking resource contention, or fine-tuning resource loading order in the critical rendering path.

    74k GitHub stars~535 tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Assemblyai Reference Architecture

    jeremylongshore/tons-of-skills-marketplace

    Analyze and design an AssemblyAI architecture spanning pre-recorded jobs, Streaming v3, LLM Gateway, callbacks, queues, retention, and audit evidence.

    2.8k GitHub stars~1.1k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Reduce Bundle Size

    kcsujeet/ilamy-calendar

    Systematically reduce the shipped bundle size of a JS/TS library without sacrificing code readability or breaking consumer APIs.

    351 GitHub stars~2.9k tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Prompt Engineer Toolkit

    alirezarezvani/claude-skills

    Turns marketing prompts into tested, versioned production assets: A/B prompt evaluation against structured test cases, immutable prompt version history with diffs, ready-to-use marketing prompt…

    28k GitHub stars~1.4k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Performance

    yonatangross/orchestkit

    Performance optimization patterns covering Core Web Vitals, React render optimization, lazy loading, image optimization, backend profiling, LLM inference, and sustainability UX.

    289 GitHub stars~3.5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Performance Tuning

    NoobyGains/godmode

    A skill your agent uses when performance is a concern - sluggish pages, slow queries, bloated bundles, high-latency APIs, or whenever someone says "optimize" or "make it faster"

    107 GitHub stars~2.3k tokensUpdated 7 mo ago
    DatabasesAuto-check passed

More from harrylettering/CodeMemory

  • Codememory Context Skill

    harrylettering/CodeMemory

    This skill should be used when the user asks questions about past conversations, wants to recall previous discussions, references "earlier", "before", "previous", "what did we say", "remember when"…

    158 GitHub stars~599 tokensUpdated 2 days ago
    Auto-check passed
  • Codememory Mark Decision

    harrylettering/CodeMemory

    A skill your agent uses to durably record a non-trivial design or implementation decision so it survives compaction and can be recalled in future sessions.

    158 GitHub stars~1.1k tokensUpdated 2 days ago
    Auto-check passed
  • Codememory Mark Task

    harrylettering/CodeMemory

    A skill your agent uses to durably record the current task or goal so future turns (and future sessions) can recall what we are trying to accomplish.

    158 GitHub stars~757 tokensUpdated 2 days ago
    Auto-check passed
  • Codememory Summarization Skill

    harrylettering/CodeMemory

    This skill should be used when creating conversation summaries for CodeMemory, discussing summarization quality, optimizing DAG structure, or working with the compaction system.

    158 GitHub stars~788 tokensUpdated 2 days ago
    Auto-check passed

Questions about Codememory Mark Constraint

What does Codememory Mark Constraint do?

A skill your agent uses to durably record a hard constraint or invariant that the work must respect. Codememory Mark Constraint is an agent skill from harrylettering/CodeMemory. Use this skill to durably record a hard constraint or invariant that the work must respect.

When should I use Codememory Mark Constraint?

Codememory Mark Constraint fits situations like: durably record a hard constraint; invariant that the work must respect; states a must-not-break rule; A compatibility boundary.

How do I install Codememory Mark Constraint in Claude Code?

Run `npx skills add harrylettering/CodeMemory --skill codememory-mark-constraint -a claude-code`. Or copy the skill folder (skills/codememory-mark-constraint in harrylettering/CodeMemory) into .claude/skills/codememory-mark-constraint in your project. Claude Code loads it when a task matches its description.

How do I install Codememory Mark Constraint in Codex?

Run `npx skills add harrylettering/CodeMemory --skill codememory-mark-constraint -a codex`. Or copy the skill folder (skills/codememory-mark-constraint in harrylettering/CodeMemory) into .agents/skills/codememory-mark-constraint in your project. Codex loads it when a task matches its description.

Can I use Codememory Mark Constraint 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 harrylettering/CodeMemory --skill codememory-mark-constraint -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codememory-mark-constraint, .gemini/skills/codememory-mark-constraint, .github/skills/codememory-mark-constraint and .opencode/skills/codememory-mark-constraint in your project.

What does Codememory Mark Constraint need to run?

SKILL.md names no scripts, command-line tools or credentials: Codememory Mark Constraint is instructions for the agent only.

Does Codememory Mark Constraint 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 Codememory Mark Constraint 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 Codememory Mark Constraint use?

No licence was found for Codememory Mark Constraint or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Codememory Mark Constraint use?

About 793 tokens (SKILL.md is roughly 3.2k 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 Codememory Mark Constraint?

Skills that share tags, products or a category with Codememory Mark Constraint: Fetchpriority Attribute (thedaviddias/Front-End-Checklist, 74k stars), Assemblyai Reference Architecture (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Reduce Bundle Size (kcsujeet/ilamy-calendar, 351 stars) and Prompt Engineer Toolkit (alirezarezvani/claude-skills, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codememory Mark Constraint?

harrylettering (a GitHub user) maintains it in harrylettering/CodeMemory, which has 158 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 5, 2026.

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