agentdock-core

agentdock-core is a cursor rule for Cursor from gabrielmoreira/agent-skills-mirror. It costs 1,683 tokens per session, scanned A, a copy of agentdock-core, MIT.

A set of contribution rules for AgentDock Core, a TypeScript framework for building AI agents. It covers the framework's architecture, which includes model communication, tool execution, sessions, orchestration, and storage or memory.

In plain words
What is it for?
Use it when working on AgentDock Core, its agent framework components, or related documentation and architecture.
Why use it?
It helps contributors make changes that follow the project's structure and existing development conventions.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when working on AgentDock Core, its agent framework components, or related documentation and architecture.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/gabrielmoreira/agent-skills-mirror/agentdock-core
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.

Clone the repo
git clone --depth 1 https://github.com/gabrielmoreira/agent-skills-mirror

Made for: Cursor.

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 agentdock-core

README.md
[![agentmods](https://agentmods.dev/badge/rules/gabrielmoreira/agent-skills-mirror/agentdock-core/github.svg)](https://agentmods.dev/rules/gabrielmoreira/agent-skills-mirror/agentdock-core)
Your own site
<a href="https://agentmods.dev/rules/gabrielmoreira/agent-skills-mirror/agentdock-core"><img src="https://agentmods.dev/badge/rules/gabrielmoreira/agent-skills-mirror/agentdock-core/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agentdock-core

Your own site · 80×15
<a href="https://agentmods.dev/rules/gabrielmoreira/agent-skills-mirror/agentdock-core"><img src="https://agentmods.dev/badge/rules/gabrielmoreira/agent-skills-mirror/agentdock-core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,683 This file is loaded in full into every session.
When invoked 1,683 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.1 $0.01683 $0.01683
Opus 5.5 $0.00673 $0.00673
Sonnet 5.5 $0.00337 $0.00337
Haiku 4.5 $0.00168 $0.00168

Measured 1mo ago against content hash 72e73e62bde7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agentdock-core 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 1mo 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.

Origin

This is a copy

100% identical to agentdock-core — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

mirrors/repos/AgentDock@AgentDock/.cursor/rules/agentdock-core.mdc · 44 lines

How it starts

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

AgentDock Core Framework Rules

This file outlines rules, conventions, and architectural principles for contributing to the agentdock-core directory, the standalone AgentDock framework. Adhering to these guidelines ensures contributions align with the project's goals and future roadmap, facilitating integration into both the open-source project and potential future products.

1. Core Concepts & Purpose

  • Foundation: agentdock-core is the foundational TypeScript framework, designed to be backend-first, framework-agnostic, and provider-independent. See agentdock-core/README.md for a full overview.
  • Goal: Enable the creation of sophisticated AI agents capable of complex tasks with configurable determinism.
  • Subsystems: Provides modular subsystems for LLM interaction, node/tool execution, session management, orchestration, and pluggable storage/memory.
  • Roadmap: Development aims towards supporting advanced memory, vector storage, platform integrations (messaging, voice), multi-agent collaboration, workflow automation, evaluation, and observability. See docs/roadmap.md and detailed files in [docs/roadmap/](mdc:docs/roadmap).
  • Status: Pre-release (targeting NPM publication). Contributions should focus on core framework logic.

2. Directory Structure (agentdock-core/src)

Refer to the structure outlined in the agentdock-core/README.md. Key directories house specific subsystems:

  • [config/](mdc:agentdock-core/src/config): Agent configuration processing and validation.
  • [errors/](mdc:agentdock-core/src/errors): Error handling and standardized error classes.
  • [llm/](mdc:agentdock-core/src/llm): LLM abstraction layer with CoreLLM ([core-llm.ts](mdc:agentdock-core/src/llm/core-llm.ts)), provider implementations, model registry ([model-registry.ts](mdc:agentdock-core/src/llm/model-registry.ts)).
  • [logging/](mdc:agentdock-core/src/logging): Structured logging system.
  • [nodes/](mdc:agentdock-core/src/nodes): Base node framework with BaseNode ([base-node.ts](mdc:agentdock-core/src/nodes/base-node.ts)), AgentNode ([agent-node.ts](mdc:agentdock-core/src/nodes/agent-node.ts)), node registry ([node-registry.ts](mdc:agentdock-core/src/nodes/node-registry.ts)), and tool registry ([tool-registry.ts](mdc:agentdock-core/src/nodes/tool-registry.ts)).
  • [nodes/tool/](mdc:agentdock-core/src/nodes/tool): Tool implementation utilities with base classes and helper functions.
  • [orchestration/](mdc:agentdock-core/src/orchestration): Orchestration and state management.
  • [session/](mdc:agentdock-core/src/session): Session management for conversational state.
  • [storage/](mdc:agentdock-core/src/storage): Storage abstraction with [providers/](mdc:agentdock-core/src/storage/providers) (memory, redis, vercel-kv) and [secure-storage.ts](mdc:agentdock-core/src/storage/secure-storage.ts).
  • [types/](mdc:agentdock-core/src/types): Core TypeScript definitions.
  • [utils/](mdc:agentdock-core/src/utils): Utilities for prompts ([prompt-utils.ts](mdc:agentdock-core/src/utils/prompt-utils.ts)), messages ([message-utils.ts](mdc:agentdock-core/src/utils/message-utils.ts)), LLM operations ([llm-utils.ts](mdc:agentdock-core/src/utils/llm-utils.ts)), and security ([security-utils.ts](mdc:agentdock-core/src/utils/security-utils.ts)).

Read the full file on GitHub · 44 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. 1mo ago First seen · 44 lines · 1,683 tokens per session scan A 72e73e62bde7

Subscribe to this mod's changes

agentdock-core is a cursor rule published in the GitHub repository gabrielmoreira/agent-skills-mirror (19 stars, last pushed yesterday), licensed MIT. It adds 1,683 tokens to every session, about $0.0067 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to agentdock-core, differing in 0 lines, and is treated as a copy.