← 返回
开发者工具

Codeflicker

CodeFlicker CLI 编程助手 - 快手员工专用的 AI 代码开发工具,支持更多模型和免费用量
CodeFlicker CLI 编程助手 - 快手员工专用的 AI 代码开发工具,支持更多模型和免费用量
leegodamn
开发者工具 clawhub v1.1.1 1 版本 99880.7 Key: 无需
★ 0
Stars
📥 837
下载
💾 77
安装
1
版本
#latest

概述

CodeFlicker CLI Skill

AI programming assistant CLI by Kuaishou. Similar to Claude Code or Codex CLI.

专为快手员工设计 - 使用 CodeFlicker 进行代码开发,可享受:

  • 更多模型选择(GLM、Claude 系列等)
  • 快手提供的免费 token 用量

Auto-Use (for OpenClaw)

When OpenClaw needs to perform development tasks (writing code, refactoring, debugging, etc.):

  1. Check if flickcli is available:

```bash

which flickcli

```

  1. If available, use flickcli with --cwd:

```bash

flickcli -q --cwd ~/work "开发任务描述"

```

  1. Use workspace as default if no specific path:

```bash

flickcli -q --cwd ~/work "任务描述"

```

Install

Step 1: Set npm registry (for Kuaishou internal network)

export npm_config_registry="https://npm.corp.kuaishou.com"

Step 2: Install CLI

npm install -g @ks-codeflicker/cli

Step 3: Login with SSO

flickcli /login

Step 4: Create workspace directory (recommended)

mkdir -p ~/work

Check installation:

flickcli --version

Config

Workspace Setup (Recommended)

Create a workspace directory for codeflicker to use as project base:

mkdir -p ~/work
cd ~/work

View config:

flickcli config list -g

Set config (global):

flickcli config set -g model glm-5
flickcli config set -g smallModel claude-haiku-4.5
flickcli config set -g planModel claude-4.5-sonnet
flickcli config set -g visionModel claude-4.5-sonnet
flickcli config set -g approvalMode yolo

Available models (wanqing provider):

  • glm-5 - default
  • glm-4.7, claude-haiku-4.5 - lightweight
  • claude-4.5-sonnet - planning/vision

Approval modes:

  • default - require confirmation
  • autoEdit - auto edit
  • yolo - auto execute (use with caution)

Usage

For OpenClaw (auto-detect and use)

# Check if available
if which flickcli >/dev/null 2>&1; then
    # Use flickcli with cwd
    flickcli -q --cwd ~/work "开发任务"
fi

Basic Commands

Interactive mode:

flickcli "create a new react project"

Quiet mode (non-interactive):

flickcli -q "implement fibonacci"

Continue last session:

flickcli -q -c "add unit tests"

Specify model:

flickcli -m glm-5 "task"

Specify working directory:

flickcli --cwd /path/to/project "task"

⭐ Workspace (Git Worktree)

Isolated development using git worktrees:

# Create new workspace with random name
flickcli workspace create

# Create with custom name
flickcli workspace create --name feature-login

# Create from specific branch
flickcli workspace create -b develop

# List all workspaces
flickcli workspace list

# Complete and merge (run from repo root)
flickcli workspace complete

# Delete without merging
flickcli workspace delete <name>
flickcli workspace delete <name> --force  # even with uncommitted changes

Run (Natural Language to Shell)

Interactive shell command generator:

flickcli run
# Then type: "list all files modified today"
# Press Enter to generate command
# Press Enter again to execute, Ctrl+C to cancel

Skills Management

# Add skill from GitHub
flickcli skill add user/repo

# Add globally
flickcli skill add -g user/repo

# List skills
flickcli skill list

# Remove skill
flickcli skill remove <name>

MCP Servers

# Add MCP server
flickcli mcp add my-server npx @example/mcp-server

# List MCP servers
flickcli mcp list

# Remove MCP server
flickcli mcp remove my-server

View Session Logs

flickcli log
flickcli log /path/to/logfile

Tools Control

Enable/disable specific tools:

# Disable write tool (read-only mode)
flickcli --tools '{"write":false}' "analyze this code"

# Disable bash and write (safe mode)
flickcli --tools '{"bash":false,"write":false}' "explain the logic"

Common Workflows

Bug Fix

flickcli -q --cwd ~/work "fix the null pointer exception in userService.js"

New Feature

flickcli -q --cwd ~/work "implement REST API for user management"

Code Review

flickcli -q --cwd ~/work "review this codebase and identify issues"

Refactoring

flickcli -q --cwd ~/work "refactor database layer to use SQLAlchemy"

Using Workspace for Isolated Development

# 1. Create isolated workspace
flickcli workspace create --name feature-payment

# 2. Work in the workspace directory
cd .codeflicker-workspaces/feature-payment

# 3. Do your work with flickcli
flickcli -q "implement payment API"

# 4. Return to root and complete
cd <repository-root>
flickcli workspace complete

Quick Reference

CommandDescription
----------------------
flickcli "task"Interactive mode
flickcli -q "task"Quiet mode
flickcli -q -c "task"Continue session
flickcli -q -r "task"Resume session
flickcli -q --cwd /path "task"Run in specific directory
flickcli config set -g approvalMode yoloAuto-execute mode
flickcli workspace createCreate git worktree
flickcli workspace completeMerge workspace
flickcli runNatural language to shell
flickcli skill add user/repoAdd skill

Notes

  • Install requires Kuaishou internal npm registry
  • Must login with SSO before first use: flickcli /login
  • Recommended: Create ~/work directory for project base
  • Use --cwd to specify working directory for development tasks
  • yolo mode auto-executes all operations
  • Workspace feature uses git worktrees for isolated development

版本历史

共 1 个版本

  • v1.1.1 当前
    2026-03-29 22:56 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,211
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,217
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,807