humanasllm: Instructions file for Claude Code

CLAUDE.md

humanasllm CLAUDE.md is an instructions file for Claude Code from leenkcool/humanasllm. It costs 2,768 tokens per session, scanned A, original, MIT.

Project instructions for a service that sends selected software tasks to human engineers through an API that follows the same format as OpenAI chat requests. It uses a web server, a database, login controls, and task-management screens.

In plain words
What is it for?
Use them when working on the API, user accounts, projects, task states, approvals, logs, or administrator rules.
Why use it?
They explain the system’s components and routes, making it easier to change authentication, task handling, approvals, or governance safely.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is leenkcool/humanasllm's own configuration. It tells Claude Code how to work on humanasllm itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything humanasllm configures →

Reuse

Borrowing it

Nothing to install: this file belongs to leenkcool/humanasllm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/leenkcool/humanasllm/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/leenkcool/humanasllm

Made for: Claude Code.

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 humanasllm CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/leenkcool/humanasllm/claude-md/github.svg)](https://agentmods.dev/instructions/leenkcool/humanasllm/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/leenkcool/humanasllm/claude-md"><img src="https://agentmods.dev/badge/instructions/leenkcool/humanasllm/claude-md/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 humanasllm CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/leenkcool/humanasllm/claude-md"><img src="https://agentmods.dev/badge/instructions/leenkcool/humanasllm/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,768 This file is loaded in full into every session.
When invoked 2,768 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 original No closer match found 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.02768 $0.02768
Opus 5.5 $0.01107 $0.01107
Sonnet 5.5 $0.00554 $0.00554
Haiku 4.5 $0.00277 $0.00277

Measured 6d ago against content hash 105e7032bb3b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

humanasllm CLAUDE.md 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 6d 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.

CLAUDE.md · 133 lines

How it starts

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

P390 · Human as Agent(人即智能体)

项目定位

让工程师作为「人肉大模型」接入现有多模型 Agent 调度框架。对外完全兼容 OpenAI 标准接口(/v1/chat/completions),上游调度池新增一条 human-llm 模型路由即可接入,零代码改动。涉密/私有逻辑任务经此路由派发给人工工程师,完成后按大模型格式返回,AI 工作链路不中断。

技术栈

  • 后端:Node.js + Express + Socket.IO
  • 数据库:PostgreSQL 5433(库名 p390,用户 postgres)
  • 认证:JWT(jsonwebtoken + bcryptjs)
  • 前端:Vanilla HTML/JS/CSS(IIFE 模块 + SVG 图标 + 4 套主题)

目录结构

server.js              # 入口:Socket.IO 认证 + 安全头 + 路由 + 超时扫描
db/
  index.js             # PG 连接 + 建表(users/tasks/task_logs/request_logs)
  adapters/pg.js       # pg 适配器(?→$n、INSERT RETURNING id)
  dialect.js           # 方言工具
middleware/
  auth.js              # authenticate / signToken / requireRole
  security.js          # 基础安全头(无 CSP/HSTS)+ CORS + 限流
routes/
  v1.js                # OpenAI 兼容:/v1/models + /v1/chat/completions + /v1/tasks/:id 回查
  auth.js              # 登录/me/改密
  users.js             # 工程师账户管理
  tasks.js             # 任务列表/详情/状态流转
  workbench.js         # 统计/治理概览/我的任务/待接单/未完成聚合
  approvals.js         # 审批列表 + 批准/驳回
  projects.js          # 项目管理 + 申请建项目
  logs.js              # 请求出入日志 + 任务审计
  rules.js             # 分级规则管理(治理配置后台)
  tenants.js           # 租户管理(多租户)
  gateway.js           # 网关配置 + 多工具 SKILL/AGENT 生成/微调/安装
  audit.js             # 合规报告 + 质量数据资产导出
  annotations.js       # 产出标注 + 私有评测集(快照 / SFT·评测导出)
  sso.js               # 企业 SSO:providers / start(302 授权页)/ callback(换 JWT)
  prd.js               # PRD 需求沉淀(git 本地提交)
  index.js             # 路由总挂载
services/
  stateMachine.js      # 状态机单例(任务/审批转换表 + 校验)
  categoryEngine.js    # 分级策略引擎(规则白名单锁死 > 上游显式 > 默认)
  queueService.js      # 任务状态机流转 + AI 降级 + 质量校验 + 30s 超时扫描
  aiShift.js           # 智能漂移(general 简单任务 AI 承接,confidential/ops 锁死)
  approvalService.js   # 审批状态机 + 挂起等待 + 24h 超时提醒
  aiRelay.js           # DeepSeek 中继(一次 + SSE 透传)
  openaiEncoder.js     # OpenAI 请求解析 + 响应/SSE chunk 封装
  projectService.js    # 项目 CRUD + 审批批准回调
  notifier.js / mailer.js  # 通知(邮件 + Webhook),可降级
  callback.js          # 上游完成回调(终态主动推送,免轮询;可降级)
  taskView.js          # 上游任务视图(/v1 回查与完成回调共用字段)
  taskEvents.js        # 任务事件总线(供 /v1 SSE 中途推送订阅)
  sseStream.js         # /v1 SSE 中途状态推送(opt-in stream_events:true)
  toolCalls.js         # tools/function calling(声明校验 + tool_calls 归一化)
  permissionService.js # 三权分立权限矩阵(sys_admin/sec_admin/audit_admin/engineer)+ requirePermission
  annotationService.js # 答复标注 + 私有评测集不可变快照 + SFT/评测 JSONL
  ssoService.js        # OAuth2/OIDC 授权码:提供方解析 + state 一次性 + profile 映射
  waiters.js           # 等待者单例(审批挂起等待)
  i18n.js / csv.js     # 消息翻译 / CSV 导出
  websocket.js         # Socket.IO 推送(task:new/update/timeout)
public/                # 落地页(landing/) + 登录页 + SSO 中继页(sso.html) + 工作台(workbench.html + utils/api/ws/ui/app/i18n.js)
scripts/seed.js        # 种子账户

Read the full file on GitHub · 133 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. 6d ago Changed · +9 lines · +358 tokens per session 105e7032bb3b
  2. 1mo ago Changed · +10 lines · +358 tokens per session 2421df004d61
  3. 2mo ago First seen · 114 lines · 2,052 tokens per session scan A 82e09ec85646

Subscribe to this mod's changes

humanasllm CLAUDE.md is an instructions file published in the GitHub repository leenkcool/humanasllm (29 stars, last pushed 7d ago), licensed MIT. It adds 2,768 tokens to every session, about $0.0111 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.

Related

humanasllm CLAUDE.md compared with instructions from other repositories

humanasllm CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
humanasllm CLAUDE.mdleenkcool/humanasllmInstructions file297d agoMITA2,768Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode