AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Cortex Automate

skill-cdeust-cortex-cortex-automate · by cdeust

Set up automation — prospective memory triggers, neuro-symbolic rules, and CLAUDE.md sync. Use when the user says 'remind me when', 'trigger when', 'create a rule', 'auto-remember', 'sync to CLAUDE.md', 'push insights', 'set up trigger', 'when I open this file', 'when this keyword appears', or when you want to automate memory behavior based on conditions.

No reviews yet
0 installs
9 views
0.0% view→install

Install

$ agentstack add skill-cdeust-cortex-cortex-automate

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-cdeust-cortex-cortex-automate)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
7d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Cortex Automate? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Automate — Triggers, Rules, and Sync

Keywords

trigger, rule, automate, remind me when, auto-remember, sync instructions, push to CLAUDE.md, prospective memory, keyword trigger, file trigger, domain trigger, time trigger, filter rule, boost rule

Overview

Set up proactive automation in Cortex — triggers that fire when conditions are met (like opening a specific file or entering a domain), rules that filter or boost memories during recall, and syncing top insights back into CLAUDE.md for persistent project instructions.

Use this skill when: You want Cortex to proactively surface information based on context, filter out noise during recall, or keep CLAUDE.md updated with memory-derived insights.

Workflow

Triggers — Proactive Memory Recall

Create triggers that fire automatically when conditions match:

Keyword trigger — fires when a query/context contains specific words:

cortex:create_trigger({
  "type": "keyword",
  "pattern": "authentication",
  "memory_id": ,
  "message": "Remember: we decided to use JWT with refresh tokens, not sessions"
})

File trigger — fires when a specific file is being worked on:

cortex:create_trigger({
  "type": "file",
  "pattern": "pg_store.py",
  "memory_id": ,
  "message": "This file has a known issue with connection pooling under load"
})

Domain trigger — fires when entering a specific project domain:

cortex:create_trigger({
  "type": "domain",
  "pattern": "cortex",
  "memory_id": ,
  "message": "Priority: finish the refactoring plan before adding new features"
})

Time trigger — fires after a time condition:

cortex:create_trigger({
  "type": "time",
  "pattern": "7d",
  "memory_id": ,
  "message": "It's been a week — run consolidation"
})

Triggers fire up to 5 times by default, then deactivate. They appear in the query_methodology response at session start.

Rules — Filter and Boost During Recall

Add rules that modify recall behavior:

Soft rule (boost/penalize score):

cortex:add_rule({
  "type": "soft",
  "scope": "domain:cortex",
  "condition": "tag:architecture",
  "weight": 1.5,
  "description": "Boost architecture memories in Cortex domain"
})

Hard rule (include/exclude):

cortex:add_rule({
  "type": "hard",
  "scope": "global",
  "condition": "tag:deprecated",
  "action": "exclude",
  "description": "Never surface deprecated memories"
})

Tag rule (auto-tag on store):

cortex:add_rule({
  "type": "tag",
  "scope": "domain:cortex",
  "condition": "content_match:refactor",
  "tag": "refactoring",
  "description": "Auto-tag refactoring memories"
})

List active rules:

cortex:get_rules({
  "scope": "domain:cortex"
})

Sync to CLAUDE.md

Push top memory insights into project CLAUDE.md for persistent context:

cortex:sync_instructions({
  "directory": "",
  "max_insights": 10
})

This extracts the most important, high-confidence memories and formats them as project instructions in CLAUDE.md. Useful for keeping the project-level instructions file updated with lessons and patterns discovered across sessions.

Tips

  • Triggers are personal reminders: Think of them as "note to future self" tied to a context
  • Rules shape retrieval: Soft rules are preferred over hard rules — they influence ranking without hiding potentially useful memories
  • Sync periodically: Run sync_instructions after significant sessions to keep CLAUDE.md current
  • Don't over-trigger: Too many triggers create noise. Use them for genuinely important context-dependent reminders

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.