
Product
Socket Threat Intel Now Shows Which Malware Campaigns Were Blocked or Detected
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.
@tnezdev/docent
Advanced tools
Documentation intelligence for AI agents - Your guide through the codebase
Your guide through the codebase.
Documentation intelligence for AI agents. Just as a museum docent guides visitors through exhibits, explaining context and connections, docent guides AI agents through your codebase.
Docent makes your agent better at understanding and improving documentation. No commands to learn—just configure once and talk to your agent naturally.
Docent provides your agent with:
Claude Code:
Add to ~/.claude.json:
{
"mcpServers": {
"docent": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@tnezdev/docent"],
"env": {}
}
}
}
Then restart Claude Code.
Claude Desktop:
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"docent": {
"command": "npx",
"args": ["-y", "@tnezdev/docent"]
}
}
}
First time in a project:
"Set up docent in this project"
Your agent will run docent act bootstrap to create the .docent/ directory structure.
Then just ask your agent about documentation:
Docent works behind the scenes through natural conversation.
Docent gives your AI agent four capabilities:
The agent translates your natural language requests into appropriate tool calls. You never invoke docent directly—it just makes your agent smarter about documentation.
Docent provides four core MCP tools for documentation intelligence:
start - Initialize session and list available resources (templates, runbooks, commands)ask - Search all documentation to answer questionsact - Execute runbooks and create files from templatestell - Write or update documentation using natural languageAll tools accept natural language. No rigid syntax to learn:
"How do I configure the build process?" → ask
"Set up the .docent directory" → act bootstrap
"Create an ADR for using PostgreSQL" → act create adr
"I learned that Redis requires AOF for writes" → tell
You: "Initialize docent"
Agent: [calls docent start]
Agent: "Session initialized. Available templates: adr, rfc, runbook...
Available runbooks: bootstrap, health-check, git-commit..."
You: "How do I run tests in this project?"
Agent: [calls docent ask with "how to run tests"]
Agent: "Based on your docs: npm test runs Mocha tests.
Use npm run test:watch for development."
You: "Document the decision to use PostgreSQL"
Agent: [calls docent act create adr]
Agent: "I'll create an ADR for the PostgreSQL decision..."
Agent: [creates docs/adr/adr-000N-postgresql.md]
You: "Check project health"
Agent: [calls docent act health-check]
Agent: [follows runbook procedures]
Agent: "Health check complete. Git status clean,
tests passing, 2 TODO comments found."
You: "Finished implementing auth module"
Agent: [calls docent tell with context]
Agent: "Documented: Completed JWT-based authentication
with refresh tokens and role-based access."
Docent's /tell tool uses intelligent template classification to organize your knowledge. You can extend this with custom templates for project-specific documentation types.
.docent/templates/ (overrides bundled templates with same name)---
name: incident-report
description: Post-mortem documentation for production incidents
directory: incidents
filename_prefix: incident
use_when: |
Use this template when the user mentions:
- Production incidents, outages, or downtime
- Post-mortems or incident reviews
- System failures or service disruptions
- Root cause analysis
examples:
- "We had a database outage this morning"
- "Document the API timeout incident"
- "Create post-mortem for the deployment failure"
---
# Incident Report: {{incident_name}}
**Date:** {{date}}
**Duration:** {{duration}}
**Severity:** {{severity}}
## Summary
[Brief description of what happened]
## Timeline
[Chronological events]
## Root Cause
[What caused the incident]
## Resolution
[How it was fixed]
## Prevention
[Steps to prevent recurrence]
name - Unique identifier (must match filename without .md)description - One-line explanation shown to usersdirectory - Target subdirectory under .docent/ (e.g., incidents, specs, guides)filename_prefix - Prefix for generated files (e.g., incident-2025-10-29.md)use_when - Semantic guidance for when this template applies (natural language)examples - Sample statements that should match this templateWhen you use /tell:
use_when guidanceRelease notes template:
---
name: release-notes
description: Version release documentation
directory: releases
filename_prefix: release
use_when: |
Use when documenting:
- Version releases or deployments
- Release notes or changelogs
- Version-specific changes
examples:
- "Document v2.0 release"
- "We shipped the new dashboard today"
---
Team meeting notes:
---
name: meeting-notes
description: Team meeting documentation
directory: meetings
filename_prefix: meeting
use_when: |
Use when capturing:
- Team meetings or standups
- Meeting notes or minutes
- Discussion outcomes or decisions from meetings
examples:
- "Notes from today's planning meeting"
- "Document sprint review discussion"
---
To customize bundled templates, create a file with the same name in .docent/templates/:
.docent/templates/adr.md - Override architecture decisions.docent/templates/rfc.md - Override request for comments.docent/templates/runbook.md - Override operational proceduresYour version takes precedence and includes your custom classification guidance.
Solo developers using AI agents as part of their development workflow.
If you're using Claude, ChatGPT, or other AI coding assistants, docent helps them understand and improve your documentation.
# Clone and install (build happens automatically)
git clone https://github.com/tnez/docent.git
cd docent
npm install
# Add to ~/.claude.json for local development
{
"mcpServers": {
"docent": {
"type": "stdio",
"command": "/absolute/path/to/docent/bin/mcp-server.js",
"args": [],
"env": {}
}
}
}
# Restart Claude Code to load the MCP server
Docent is infrastructure for AI agents, not a direct tool for humans.
Think of it like a database:
Docent makes agents smarter about documentation.
FAQs
Documentation intelligence for AI agents - Your guide through the codebase
The npm package @tnezdev/docent receives a total of 5 weekly downloads. As such, @tnezdev/docent popularity was classified as not popular.
We found that @tnezdev/docent demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.

Security News
Fixes for eMudhra and Brotli are out. Getting them everywhere they’re needed means tracking down bundled libraries, runtimes, and certificate stores.

Threat Research
/Security News
Socket uncovered secret-stealing workflows that ran in LiteLLM’s GitHub repository 11 days before the supply chain attack on PyPI and Docker.