logic-register

logic-register is a skill for Claude Code, Codex from NewJerseyStyle/plugin-logic-llm. It costs 0 tokens per session (645 once invoked), scanned A, original, MIT.

A registry for predicates, facts, and rules used in logic-based knowledge bases. It keeps these entries named consistently and tracks their relationships.

In plain words
What is it for?
It is for adding, searching, listing, updating, linking, and exporting logic entries, with filters for domain and type.
Why use it?
It helps prevent duplicate or inconsistent definitions and makes existing logic easier to find and reuse.

Skill for Claude CodeCodex

Part of the logic-llm plugin — 4 skills, 1 command, 8 agents, 2 hooks, 6 MCP servers shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/newjerseystyle/plugin-logic-llm/logic-register
Any agent
npx skills add NewJerseyStyle/plugin-logic-llm --skill logic-register
Clone the repo
git clone --depth 1 https://github.com/NewJerseyStyle/plugin-logic-llm

Made for: Claude Code, Codex.

Or install logic-llm, the plugin that ships this one along with the rest of its 4 skills, 1 command, 8 agents, 2 hooks, 6 MCP servers.

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 logic-register

README.md
[![agentmods](https://agentmods.dev/badge/skills/newjerseystyle/plugin-logic-llm/logic-register.svg)](https://agentmods.dev/skills/newjerseystyle/plugin-logic-llm/logic-register)
Your own site
<a href="https://agentmods.dev/skills/newjerseystyle/plugin-logic-llm/logic-register"><img src="https://agentmods.dev/badge/skills/newjerseystyle/plugin-logic-llm/logic-register.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 645 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00645
Opus 5 $0.00000 $0.00322
Sonnet 5 $0.00000 $0.00129
Haiku 4.5 $0.00000 $0.00064

Measured 3d ago against content hash b965701dc851, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

logic-register 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 3d 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/logic-register/SKILL.md · 101 lines

How it starts

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

/logic-register

Register and manage predicates, facts, and rules in the logic knowledge registry.

Description

This skill manages the central registry that tracks all predicates, facts, and rules across the knowledge base. It ensures naming consistency, prevents duplicates, and enables code reuse across conversions.

Usage

/logic-register [command] [options]

Commands

  • add - Register new predicates or rules
  • search - Search for existing predicates
  • list - List registered items
  • update - Update predicate descriptions or metadata
  • link - Link related predicates across domains
  • export - Export registry to file

Options

  • --domain <name> - Filter by domain
  • --type <predicate|fact|rule> - Filter by type
  • --format <json|prolog|clingo> - Output format

Examples

/logic-register add --domain legal "canAccess(Person, Resource) ::: Person is authorized to access Resource"
/logic-register search "access"
/logic-register list --domain legal --type predicate
/logic-register export --format json ./registry-backup.json

Registry Structure

Each registry entry contains:

{
  "name": "canAccess",
  "arity": 2,
  "domain": "legal",
  "type": "predicate",
  "signature": "canAccess(Person, Resource)",
  "description": "Person is authorized to access Resource",
  "arguments": [
    {"name": "Person", "type": "entity", "description": "The person requesting access"},
    {"name": "Resource", "type": "entity", "description": "The resource being accessed"}
  ],
  "examples": ["canAccess(john, confidential_files)"],
  "source": "contracts/access-policy.txt",
  "created": "2024-01-15T10:30:00Z",
  "aliases": ["hasAccess", "isAuthorized"],
  "related": ["hasRole", "resourceClassification"]
}

Deduplication

The registry prevents duplicate predicates by:

  1. Checking for exact name matches
  2. Checking for semantic similarity in descriptions
  3. Suggesting existing predicates when creating new ones
  4. Maintaining aliases for the same concept

Read the full file on GitHub · 101 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. 3d ago First seen · 101 lines · 0 tokens per session scan A b965701dc851

Subscribe to this mod's changes

logic-register is a skill published in the GitHub repository NewJerseyStyle/plugin-logic-llm (2 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 645 tokens. 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-31.