1. Conduid
  2. AI
  3. Hataraku
MCP server · AI

Hataraku

基于 Anthropic Claude 的智能编码助手 CLI 工具,提供终端用户界面(TUI)和丰富的 AI 辅助编程功能。

Unclaimed MIT last commit 6 months ago ai
56Fair

Scored 16 hours ago · breakdown

About Hataraku

Hataraku is an MCP server published by Maidang1 in the AI category: 基于 Anthropic Claude 的智能编码助手 CLI 工具,提供终端用户界面(TUI)和丰富的 AI 辅助编程功能。. It has been installed 0 times through Conduid.

The repository has 2 stars and 0 forks, with the last commit 6 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx hataraku

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Hataraku

Powered by Claude · Grounded in docs

I know everything about Hataraku. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.0.3v0.0.3
v0.0.2v0.0.2
v0.0.1v0.0.1

README

hataraku

基于 Anthropic Claude 的智能编码助手 CLI 工具,提供终端用户界面(TUI)和丰富的 AI 辅助编程功能。

配置

项目支持通过 .claude 目录下的配置文件来自定义行为。配置使用 YAML 格式:

# .claude/config.yml
safety:
  # 允许自动执行的 Bash 命令前缀(无需确认)
  autoAllowedBashPrefixes:
    - rg
    - cat
    - ls
    - pwd
    - git status
    - git diff
    - git log

  # 允许自动执行的 工具名称(无需确认)
  autoAllowedTools:
    - fileRead
    - listFiles
    - grep
    - glob
    # 你可以添加更多工具,例如:
    # - todo_read
    # - todo_write
    # - architect

  # 允许写入的根目录(为空时使用项目根目录)
  allowedWriteRoots:
    - ./
    - ./build

logging:
  # 日志存储目录
  baseDir: .hataraku/sessions

Always Allow 工具

使用 autoAllowedTools 配置,你可以指定某些工具在当前项目中自动允许执行,无需用户确认:

safety:
  autoAllowedTools:
    - fileRead      # 总是自动允许读取文件
    - fileEdit      # 总是自动允许编辑文件(谨慎使用!)
    - todo_read     # 总是自动允许读取待办事项
    - todo_write    # 总是自动允许更新待办事项
    - grep          # 总是自动允许内容搜索
    - listFiles     # 总是自动允许列出文件

⚠️ 注意: 将写入类工具(如 fileEditbash)加入自动允许列表时请谨慎,因为这可能导致意外修改文件或执行命令。

配置示例文件

在项目根目录创建 .claude/config.yml 文件:

# .claude/config.yml
# hataraku 配置文件

safety:
  # 允许自动执行的 Bash 命令前缀
  autoAllowedBashPrefixes:
    - rg
    - cat
    - ls
    - pwd
    - git status
    - git diff
    - git log

  # 自动允许执行的工具(无需确认)
  autoAllowedAllowedTools:
    # 只读工具默认已自动允许,这里主要是为了演示
    - fileRead
    - listFiles
    - grep
    - glob
    - todo_read
    - skills
    - architect

  # 如果你想自动允许写入操作,可以添加以下工具(谨慎使用!)
  # autoAllowedTools:
  #   - fileEdit
  #   - todo_write

  # 允许写入的根目录
  allowedWriteRoots:
    - ./

logging:
  # 日志存储目录
  baseDir: .hataraku/sessions

功能特性

🤖 核心能力

  • AI 对话: 基于 Anthropic Claude 的智能对话,支持流式响应
  • Thinking 模式: 支持 Claude 的扩展思考模式,让 AI 进行深度推理
  • 工具调用: 自动调用工具完成文件操作、代码搜索、命令执行等任务

🛠️ 内置工具

工具 功能
fileRead / fileEdit 文件读取与精确编辑(先读后改保护)
listFiles / grep / glob 列目录、内容搜索、按模式找文件
bash 执行 shell 命令
todo_read / todo_write 读取和更新任务列表
fetch 抓取 URL 内容
architect 生成实现计划草案
skills 动态加载 AI 技能

🔌 MCP 支持

  • 连接外部 MCP 服务器扩展功能
  • 自动重连、健康检查和缓存机制
  • 支持多个 MCP 服务器同时连接

🧩 技能系统

  • 自动从 .codex/skills/ 目录加载技能
  • 支持技能间的依赖关系和 MCP 服务器依赖
  • 运行时动态注入技能详情

🎨 终端用户界面

  • 基于 Ink(React for CLIs)构建
  • 实时对话界面,支持 Markdown 渲染
  • 时间线视图显示工具执行历史
  • 斜杠命令菜单快速访问功能

📝 会话日志

  • 自动记录所有对话和工具执行
  • 支持导出为 Markdown 格式
  • 环境快照记录用于调试

快速开始

安装

git clone <repository-url>
cd hataraku
bun install

配置

# 设置 Anthropic API 密钥
export ANTHROPIC_API_KEY="your-api-key"

# 可选:自定义 API 端点
export ANTHROPIC_BASE_URL="https://api.anthropic.com"

使用

# 启动 TUI
bun run start

# 导出会话为 Markdown
bun run start export <session-id> -o ./session.md

# 开发模式(热重载)
bun --hot src/index.ts

项目结构

hataraku/
├── src/
│   ├── index.ts           # 入口点
│   ├── cli/               # CLI 引导
│   ├── render/            # Ink UI 组件和状态
│   │   ├── components/    # UI 组件
│   │   ├── state/         # Jotai 状态管理
│   │   └── commands/      # 命令处理
│   └── core/              # 核心逻辑
│       ├── api/           # SDK 公共稳定 API(未来发包入口)
│       └── internal/      # SDK 内部实现(agent/providers/tools/integrations/...)
├── docs/                  # 文档
└── package.json

技术栈

技术 用途
Bun 运行时
TypeScript (ESM) 语言
Ink UI 框架 (React for CLIs)
Jotai 状态管理
@anthropic-ai/sdk AI SDK
@modelcontextprotocol/sdk MCP SDK
cac CLI 解析

开发

# E2E 测试
bun run test-e2e.ts

# 类型检查
bunx tsc -p tsconfig.json --noEmit

许可证

MIT

README mirrored from the source repository 16 hours ago. The original is authoritative.

Questions

About Hataraku

How do I install Hataraku?

Run npx hataraku, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Hataraku safe to use with an AI agent?

Its trust score is 56 out of 100 (fair). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Hataraku still maintained?

The last commit was 6 months ago, with 0 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.