Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

save-knowledge保存知识

Agent Skill

save-knowledge 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

636

周安装

26

GitHub Stars

66

下载量

204
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:save-knowledge(保存知识)
来源仓库:https://github.com/indranilbanerjee/digital-marketing-pro
仓库路径:skills/save-knowledge
安装命令:
npx skills add https://github.com/indranilbanerjee/digital-marketing-pro --skill save-knowledge
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/indranilbanerjee/digital-marketing-pro --skill save-knowledge

简介

用于查找、检索和筛选相关信息,支持基于关键词或任务场景快速定位结果。

  • 适合在需要根据线索快速获取候选信息时使用。
  • 可结合来源仓库与原始 README 进一步验证具体功能与使用方式。
  • 安装通过 GitHub,适用于 Codex、Claude、Cursor、Gemini CLI 等宿主环境。
  • 使用前应确认权限范围、维护状态,避免触发联网、命令执行或文件读写操作。

SKILL.md

/dm:save-knowledge

Purpose

Save brand knowledge to the persistent memory layer (Pinecone or Qdrant vector database) for semantic retrieval in future sessions. Stores campaign learnings, competitive intelligence, brand guidelines, and performance insights with proper metadata tagging so that valuable knowledge is never lost between sessions. Every stored item is content-hashed for deduplication, tagged with brand context, and indexed for natural language search — turning ad-hoc learnings into durable institutional memory that every agent can draw from. Designed for targeted, intentional knowledge capture — for bulk session syncing, use /dm:sync-memory instead.

Input Required

The user must provide (or will be prompted for):

  • Content to store: The knowledge to save — can be plain text typed directly, a reference to content in the current conversation (e.g., "save that email analysis we just did"), structured data from a campaign report or audit, or a URL to external research. Content is stored as-is with optional summarization for the index entry
  • Content type: One of: guideline (brand rules, voice standards, style restrictions), campaign-learning (what worked or failed in a campaign with supporting evidence), competitive-intel (competitor findings, positioning, pricing, strategy moves), performance-insight (metrics, benchmarks, trends, statistical patterns), or brand-asset (approved copy, templates, creative references, messaging frameworks)
  • Tags: Descriptive tags for filtered retrieval — e.g., "email", "q4-2025", "subject-lines", "audience-millennials", "paid-social", "black-friday". If not provided, auto-suggested based on content analysis using brand context, industry taxonomy, and channel detection. Multiple tags encouraged for richer retrieval
  • Source context: Where this knowledge originated — current session analysis, imported report, campaign retrospective, external research, competitor monitoring, or team input. Used for provenance tracking, credibility weighting during retrieval, and audit trail compliance
  • Priority (optional): high (surface this knowledge proactively in relevant contexts), normal (standard retrieval weight), or low (archive-grade, retrieve only on direct queries). Default is normal
  • Expiration (optional): Date after which this knowledge should be flagged as potentially stale — useful for time-sensitive competitive intel, seasonal campaign data, or pricing information that changes quarterly. No default (knowledge persists indefinitely unless expired)
  • Related entries (optional): References to existing stored knowledge this entry connects to — enables knowledge graph linking and richer cross-reference retrieval

Process

  1. Load brand context: Read ~/.claude-marketing/brands/_active-brand.json for the active slug, then load ~/.claude-marketing/brands/{slug}/profile.json. Apply brand voice, compliance rules for target markets (skills/context-engine/compliance-rules.md), and industry context. Also check for guidelines at ~/.claude-marketing/brands/{slug}/guidelines/_manifest.json — if present, load restrictions. Check for agency SOPs at ~/.claude-marketing/sops/. If no brand exists, ask: "Set up a brand first (/dm:brand-setup)?" — or proceed with defaults.
  2. Prepare content for storage: Run memory-manager.py --action prepare-store with content_type, tags, and source context. The script normalizes the content, generates a SHA-256 content hash, structures the metadata payload (brand_slug, content_type, tags, source, timestamp, priority, expiration), and validates that all required fields are present. If tags were not provided, auto-generate them from content analysis.
  3. Check for duplicates: Compare the content hash against the local index at ~/.claude-marketing/brands/{slug}/memory/. If a match exists, report the duplicate — show the existing entry's tags, date, and summary — and offer to update its metadata (add new tags, refresh timestamp, change priority) rather than creating a duplicate. If no match, proceed to storage.
  4. Check connected memory services: Run memory-manager.py --action get-memory-status to determine which vector database is connected — Pinecone, Qdrant, or local-only fallback. Verify API connectivity, available storage capacity, and index health. If no vector DB is connected, store locally and recommend persistent storage setup for cross-session access.
  5. Store via vector database MCP: Send the prepared payload to the connected Pinecone or Qdrant MCP server for embedding and storage. Include all metadata for filtered retrieval. If Supermemory is also connected, sync the entry for cross-session agent access. If Graphiti is connected and related entries were specified, create relationship edges in the knowledge graph.
  6. Update local index: Run memory-manager.py --action log-stored to register the new entry in the local content hash registry with storage ID, vector DB reference, timestamp, and priority. Update sync state so future /dm:sync-memory runs skip this item as already persisted.
  7. Confirm storage: Present the storage confirmation with all details — what was stored, where it was stored, metadata applied, and example queries that would retrieve this entry.

Output

A structured storage confirmation containing:

  • Content summary: Brief description of what was stored, word count, content hash for deduplication reference, and a one-line summary generated from the content for index display
  • Content type: The classification applied — guideline, campaign-learning, competitive-intel, performance-insight, or brand-asset — with explanation of why this type was selected if auto-detected
  • Tags applied: All tags attached to the entry — user-provided tags, auto-suggested tags with rationale, and brand-context tags (industry, market, brand slug) added automatically for namespace isolation
  • Storage location: Which vector database was used (Pinecone, Qdrant, or local-only), namespace or collection name, storage ID, and embedding model used for vectorization
  • Deduplication status: Whether this was a new entry or an update to an existing entry — with details on what metadata was merged and the original entry's storage date
  • Priority and expiration: The priority level set (high, normal, low) and expiration date if specified, with a note on how these affect future retrieval ranking
  • Related entries linked: Any knowledge graph relationships created to existing entries, with bidirectional link confirmation
  • Total stored items: Running count of total knowledge items stored for this brand, broken down by content type, for memory utilization awareness
  • Retrieval hint: Two to three example search queries that would surface this entry — so the user knows exactly how to find it later via /dm:search-knowledge

Agents Used

  • memory-manager — Content normalization and summarization, SHA-256 hashing for deduplication, duplicate detection against local index with metadata merge option, auto-tag generation from content analysis, metadata structuring with required field validation, vector database payload preparation and embedding, storage execution via Pinecone or Qdrant MCP, knowledge graph relationship creation via Graphiti, local index and sync state update, and retrieval hint generation based on stored content semantics

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.77%
按下载量换算69

Claude

28.09%
按下载量换算57

Cursor

19.72%
按下载量换算40

Gemini CLI

10.34%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills