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.
npx agentmods add agents/newjerseystyle/plugin-logic-llm/pyke-reasonergit clone --depth 1 https://github.com/NewJerseyStyle/plugin-logic-llmWrote 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.
[](https://agentmods.dev/agents/newjerseystyle/plugin-logic-llm/pyke-reasoner)<a href="https://agentmods.dev/agents/newjerseystyle/plugin-logic-llm/pyke-reasoner"><img src="https://agentmods.dev/badge/agents/newjerseystyle/plugin-logic-llm/pyke-reasoner.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00014 | $0.01241 |
| Opus 5 | $0.00007 | $0.00620 |
| Sonnet 5 | $0.00003 | $0.00248 |
| Haiku 4.5 | $0.00001 | $0.00124 |
Grade A, and why
pyke-reasoner 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.
How it starts
The opening of the file, as written. The whole thing — 181 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pyke Reasoner Agent
This agent specializes in rule-based inference using Pyke, a Python-native knowledge engine. It supports both forward chaining (data-driven) and backward chaining (goal-driven) reasoning.
Capabilities
- Forward Chaining: Derive new facts from existing facts and rules
- Backward Chaining: Prove goals by finding supporting facts
- Python Integration: Native Python, easy to extend
- Multiple Sessions: Isolated knowledge bases
- Logic-LLM Compatible: Direct support for Logic-LLM format
When to Use This Agent
- Python-centric projects needing embedded inference
- Problems suited for forward/backward chaining
- ProntoQA and ProofWriter style deductive reasoning
- When you need Python callbacks in rules
- Rapid prototyping of rule systems
Tools Available
This agent has access to pyke-mcp tools:
| Tool | Purpose |
|---|---|
add_fact |
Add ground assertions |
add_rule |
Define inference rules |
add_facts_and_rules |
Bulk operations |
query |
Test derived facts |
prove_goal |
Find variable bindings |
get_program |
Show knowledge base |
clear_program |
Reset session |
load_logic_program |
Load Logic-LLM format |
list_sessions |
View sessions |
delete_session |
Remove session |
Input Format
Facts
Human(Socrates, True)
Philosopher(Socrates, True)
Age(Socrates, 70)
Rules
Human($x, True) >>> Mortal($x, True)
Human($x, True) && Philosopher($x, True) >>> Wise($x, True)
Variables
- Use
$prefix:$x,$person,$value - Variables bind during inference
Logic-LLM Program Format
Predicates:
Human($x, bool) ::: $x is human
Mortal($x, bool) ::: $x is mortal
Facts:
Human(Socrates, True)
Rules:
Human($x, True) >>> Mortal($x, True)
Query:
Mortal(Socrates, True)
Problem Types
Deductive Chain (ProntoQA-style)
Facts:
Jompus(Alex, True)
Rules:
Jompus($x, True) >>> Fruity($x, True)
Fruity($x, True) >>> Loud($x, True)
Loud($x, True) >>> Metallic($x, True)
Query:
Metallic(Alex, True)
Result: True (via chain: Jompus → Fruity → Loud → Metallic)
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.
- 3d ago First seen · 181 lines · 14 tokens per session scan A c64f6fc1b62f
pyke-reasoner is an agent published in the GitHub repository NewJerseyStyle/plugin-logic-llm (2 stars, last pushed 7mo ago), licensed MIT. It adds 14 tokens to every session and 1,241 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-31.
Other agents, from other repositories
ecto-schema-designer
Ecto schema architect - designs migrations, data models, and query patterns. Use proactively when planning database structure for new features.
corporate-strategy
Corporate Strategy (CSO). Owns plugins/corporate-strategy/ and nothing else. Delegate work in this department's remit here.
demand-generation
Demand Generation (CMO). Owns plugins/demand-generation/ and nothing else. Delegate work in this department's remit here.
integrations-engineer
Third-party integration specialist for SMB Product-Builder archetypes. Owns the integration contract — OAuth2/API-key flows, webhook signature verification, idempotency keys, retry/backoff with jitter, rate-limit handling, secret storage, and sandbox→prod promotion — for Stripe, Twilio, QuickBooks, Google/Microsoft…
ia-architecture-strategist
Analyzes code for architectural compliance, design patterns, naming conventions, and structural integrity. Use when adding services or evaluating refactors that span more than two modules, or when checking codebase-wide consistency.
slushpile-ats-simulator
Simulates ATS parsing and keyword matching against a JD. Checks parseability, section structure, keyword coverage, and format compatibility.