agentleFS
cdeustcdeust/Cortex/skills/cortex-recall-global/SKILL.md

cortex-recall-global

Skill73 starsChanged 4 months agoMITView on GitHub

Search and retrieve global memories — knowledge that applies across all projects. Use when the user asks 'what are our coding standards', 'what conventions do we follow', 'what's our infrastructure setup', 'do we have a rule about', 'what applies to all projects', 'shared knowledge', 'global rules', or when you need cross-project context like architecture decisions, server configs, or team policies.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After finding a global memory, explore what it connects to across projects:

    line 70
  2. Very specific:

    Rate for quality: Use cortex:rate_memory on global memories that were helpful to improve future retrieval confidence

    line 95
  3. Very specific:

    Assess coverage: Use cortex:assess_coverage to see if any project domain is missing shared knowledge

    line 96

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Recall Global — Retrieve Cross-Project Knowledge

Keywords

global, convention, standard, rule, infrastructure, policy, all projects, shared, universal, what's our rule, coding standard, architecture rule, team agreement, cross-project, server config, deployment

Overview

Retrieve global memories — knowledge stored as cross-project that's visible regardless of which project you're currently working in. Global memories include architecture rules, coding conventions, infrastructure facts, security policies, and team agreements.

Note: Regular cortex:recall already surfaces global memories automatically. This skill is for when you specifically want to focus on cross-project knowledge.

Workflow

Step 1: Recall Global Knowledge

Query with any domain — global memories appear alongside domain-specific results:

cortex:recall({
  "query": "<topic to search for>",
  "max_results": 10
})

Global memories are included in results regardless of the current project domain.

Step 2: Filter to Global Only

To see only global cross-project knowledge, use the unified neural graph:

cortex:open_visualization()

Click the Global filter button (pink) to isolate all global memories.

Click the Global filter — global memories appear as pink nodes connected to all project domains.

Step 3: Explore by Category

Common global recall patterns:

Architecture rules:

cortex:recall({ "query": "architecture rules and principles" })

Infrastructure:

cortex:recall({ "query": "server addresses and database connections" })

Coding conventions:

cortex:recall({ "query": "coding standards and naming conventions" })

Security policies:

cortex:recall({ "query": "security policies and credential management" })

Step 4: Navigate Connections

After finding a global memory, explore what it connects to across projects:

cortex:navigate_memory({
  "memory_id": <id>,
  "depth": 2
})

Global memories link to all domain hubs in the knowledge graph — following connections shows which projects reference similar concepts.

How Global Recall Works

Global memories have is_global = TRUE in the database. During recall, every retrieval signal (vector, FTS, trigram, heat, recency) includes the clause:

WHERE (domain = current_domain OR is_global = TRUE)

This means global memories compete on relevance alongside domain-specific ones — they're not artificially boosted, just not filtered out.

Tips

  • Global memories compete on merit: They appear in results only when relevant to the query, not automatically at the top
  • Use the visualization: The unified graph shows global memories (pink) with edges to every project — a visual map of shared knowledge
  • Rate for quality: Use cortex:rate_memory on global memories that were helpful to improve future retrieval confidence
  • Assess coverage: Use cortex:assess_coverage to see if any project domain is missing shared knowledge

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.