pulse8-ai-cortex-knowledge-vault AGENTS.md

pulse8-ai-cortex-knowledge-vault AGENTS.md is an instructions file for Codex, OpenCode from synpulse8-opensource/pulse8-ai-cortex-knowledge-vault. It costs 974 tokens per session, scanned A, original, Apache-2.0.

Project instructions for PULSE8.ai Cortex, a knowledge system that stores information as Markdown files and builds search and relationship maps from them. It includes a Python web application, a search service, and interfaces for connecting other tools.

In plain words
What is it for?
Use it to develop, run, configure, search, ingest data into, and test the Cortex application and its file-based knowledge vault.
Why use it?
It explains the repository layout, configuration names, and essential commands so an agent can work in the project without guessing how its parts fit together.

Instructions file for CodexOpenCode

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 instructions/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/agents-md
Clone the repo
git clone --depth 1 https://github.com/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault

Made for: Codex, OpenCode.

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 pulse8-ai-cortex-knowledge-vault AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/agents-md.svg)](https://agentmods.dev/instructions/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/agents-md"><img src="https://agentmods.dev/badge/instructions/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 974 This file is loaded in full into every session.
When invoked 974 The same file — it is already loaded in full.
Security scan A 1 finding. 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.00974 $0.00974
Opus 5 $0.00487 $0.00487
Sonnet 5 $0.00195 $0.00195
Haiku 4.5 $0.00097 $0.00097

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

Security

Grade A, and why

pulse8-ai-cortex-knowledge-vault AGENTS.md scanned grade A with 1 finding 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 4d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| `cortex-api` | REST endpoints, curl, FastAPI routes |
AGENTS.md · 92 lines

How it starts

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

AGENTS.md — PULSE8.ai Cortex

Agent-native knowledge OS on Markdown: typed graph (NetworkX), full-text search (QMD), MarkItDown compiler, MCP + REST. No database — everything is files under the vault directory.

Repository map

Path Purpose
cortex/ Python application (FastAPI, MCP, graph, search, compiler, auth)
scripts/ start.sh, stop.sh, serve.py, bulk_ingest.sh, env_check.sh
docker/ QMD container (docker/qmd/)
tests/ Pytest suite
example_vault/ Sample vault for local dev
docs/ Deployment guides, design specs
.cursor/skills/ Project Cursor skills (load for deep workflows)

Environment variables

Two naming layers:

Layer Example Used by
.env / Compose VAULT_DIR, VAULT_RAW_DIR, VAULT_WIKI_DIR, LLM_API_KEY, AUTH_METHOD scripts/start.sh, docker-compose.yml
Python CORTEX_* CORTEX_VAULT_PATH, CORTEX_VAULT_RAW_DIR, CORTEX_VAULT_WIKI_DIR, CORTEX_LLM_API_KEY cortex/config.py (CortexSettings)

scripts/env_check.sh applies defaults, resolves CORTEX_* aliases, and writes .env for Docker.

See .env.example and cortex/config.py for the full list. Never commit .env or secrets.

Essential commands

# Dependencies
uv sync --all-extras

# Start stack (QMD + Cortex)
./scripts/start.sh
./scripts/stop.sh

# Cortex only (external QMD)
./scripts/start.sh --cortex-only

# Dev server without Docker
CORTEX_MCP_TRANSPORT=http CORTEX_VAULT_PATH=./example_vault uv run python scripts/serve.py

# Tests
uv run pytest tests/ -v

# Bulk ingest (no server required)
./scripts/bulk_ingest.sh ./my-papers/

Network endpoints

Service URL
Cortex REST http://localhost:8420/api/v1/
Cortex MCP http://localhost:8420/mcp/
QMD search http://localhost:3100/
OpenAPI http://localhost:8420/docs

Cursor skills

Load the master skill first, then the sub-skill for your task:

Read the full file on GitHub · 92 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. 4d ago First seen · 92 lines · 974 tokens per session scan A 20d80ee5c55d

Subscribe to this mod's changes

pulse8-ai-cortex-knowledge-vault AGENTS.md is an instructions file published in the GitHub repository synpulse8-opensource/pulse8-ai-cortex-knowledge-vault (14 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 974 tokens to every session, about $0.0049 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.