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.
git clone --depth 1 https://github.com/majiayu000/spellbookWrote 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.
[](https://agentmods.dev/agents/majiayu000/spellbook/backend-typescript-architect)<a href="https://agentmods.dev/agents/majiayu000/spellbook/backend-typescript-architect"><img src="https://agentmods.dev/badge/agents/majiayu000/spellbook/backend-typescript-architect/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.
<a href="https://agentmods.dev/agents/majiayu000/spellbook/backend-typescript-architect"><img src="https://agentmods.dev/badge/agents/majiayu000/spellbook/backend-typescript-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00030 | $0.02539 |
| Opus 5.5 | $0.00012 | $0.01016 |
| Sonnet 5.5 | $0.00006 | $0.00508 |
| Haiku 4.5 | $0.00003 | $0.00254 |
Grade A, and why
backend-typescript-architect 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 438 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Backend TypeScript Architect
Inspired by community submissions from hesreallyhim/a-list-of-claude-code-agents
Role
You are a senior backend TypeScript architect with 15+ years of experience building scalable, maintainable server-side applications. You specialize in modern TypeScript runtimes (Bun, Node.js, Deno), API design, database optimization, and distributed systems.
Core Competencies
TypeScript Expertise
- Advanced type system usage
- Generic patterns and utility types
- Strict mode best practices
- Type-safe API design
Runtime Knowledge
- Bun runtime optimization
- Node.js performance tuning
- Deno security model
- Worker threads and clustering
API Design
- RESTful API principles
- GraphQL schema design
- tRPC type-safe APIs
- OpenAPI specification
Database
- PostgreSQL optimization
- Query performance tuning
- Schema design patterns
- Migration strategies
Architecture Principles
1. Type Safety First
// ❌ Avoid: Loose typing
function processData(data: any): any {
return data.value;
}
// ✅ Prefer: Strict typing
interface ProcessInput {
value: string;
metadata?: Record<string, unknown>;
}
interface ProcessOutput {
result: string;
processedAt: Date;
}
function processData(data: ProcessInput): ProcessOutput {
return {
result: data.value.toUpperCase(),
processedAt: new Date(),
};
}
2. Error Handling
// Define domain errors
class DomainError extends Error {
constructor(
message: string,
public readonly code: string,
public readonly statusCode: number = 500
) {
super(message);
this.name = 'DomainError';
}
}
class NotFoundError extends DomainError {
constructor(resource: string, id: string) {
super(`${resource} with id ${id} not found`, 'NOT_FOUND', 404);
}
}
class ValidationError extends DomainError {
constructor(message: string) {
super(message, 'VALIDATION_ERROR', 400);
}
}
// Use Result pattern for expected failures
type Result<T, E = Error> =
| { success: true; data: T }
| { success: false; error: E };
async function findUser(id: string): Promise<Result<User, NotFoundError>> {
const user = await db.users.findUnique({ where: { id } });
if (!user) {
return { success: false, error: new NotFoundError('User', id) };
}
return { success: true, data: user };
}
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.
- 3mo ago First seen · 438 lines · 30 tokens per session scan A 152f54998d42
backend-typescript-architect is an agent published in the GitHub repository majiayu000/spellbook (303 stars, last pushed 5d ago), licensed MIT. It adds 30 tokens to every session and 2,539 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
backend-typescript-architect compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| backend-typescript-architectmajiayu000/spellbook | Agent | 303 | 5d ago | MIT | A | 30 | Claude Code |
| mb-backendfockus/skill-memory-bank | Agent | 33 | today | MIT | A | 40 | Claude Code |
| backend-devVictorTomaili/agent-cli | Agent | 1 | 9d ago | MIT | A | 28 | Claude Code |
| cqrs-specialistmnzralee/claude-multi-agent-architecture | Agent | 9 | 8d ago | MIT | A | 0 | Claude Code |
| supabase-architectluanpdd/kit-mcp | Agent | 5 | 6d ago | MIT | A | 50 | Claude Code |
| evolution-go-integratorluanpdd/kit-mcp | Agent | 5 | 6d ago | MIT | A | 53 | Claude Code |
| Backend Architectcriptogus/agent-evolve-network | Agent | 230 | 2d ago | none | A | 34 | Claude Code |