AI Harness Kit for 2026

This is my complete everyday harness: instructions, tools, configuration, and workflows. Read the originals, or ask your agent to copy and adapt the setup to your environment.

01 / CONTENTS

Adopt the complete harness

Read the complete source materials

The personal instructions, configuration, and workflows are included. Open any source below to read it directly.

  • rules/: General and Codex working principles, plus the export scripts.
  • configs/: actual settings for Codex, Pi, Claude Code, Orca, and Magpie.
  • Skills and sources: third-party skills from Orca, CodexHost, Lark, and Pi, plus originals of our maintained project skills.

Prepare the dependencies for your chosen client, adapt paths, accounts, and credentials, then export the rules. See Chapter 08 for setup steps.

Optional reference: team engineering standards are listed in the source index. Their GitHub materials require repository access.

Engineering principles
  • Pragmatic engineering decisions that balance iteration speed and technical debt
  • Prioritize QoL and DX to reduce cognitive and operational burden
  • Autonomous execution and efficient coordination through Agent Swarm
  • Proactive task decomposition, isolation, and autonomous integration
  • Efficient semantic integration and continuity of context
  • 100%+ improvement in Codex token efficiency
  • Overcome GPT’s tendency toward excessive defensiveness and caution
  • Natural agent communication without robotic phrasing
02 / TOOLS

Complete tool stack

ToolPurposeOfficial website / documentation
OrcaAn agent workspace that brings agents, Git worktrees, terminals, a browser, and code review into one app.onorca.dev
PiAn extensible terminal agent that connects to models, reads and edits files, runs commands, and adds capabilities such as search and subagents through extensions.pi.dev
CodexI keep Codex for useful GUI features such as visualization. For everyday development, I usually use Pi to reduce the defensive programming tendencies I encounter with Codex.openai.com/codex
Claude CodeI find Claude Code versatile and useful across a broad range of tasks, though its terminal interface is not always ideal to use.code.claude.com
MagpieManage models and providers across agents through a local gateway that translates between APIs. Choose models for Codex, Pi, Claude Code, and other agents, and maintain their configuration and model specifications.usemagpie.ai
OpenLessA voice-input tool that turns speech into text with a global hotkey, polishes it in your chosen style, and inserts it at the cursor. Its AI-prompt mode helps turn spoken thoughts into requests, context, and feedback for agents.openless.top · GitHub
03 / ORCA

Orca · A workspace for parallel agent development

Website · Documentation · GitHub

Orca is an integrated development environment (ADE) designed for AI coding agents, bringing multi-agent management, Git worktrees, terminals, browsers, code editing, and review into one workspace.

I. Parallel agents and task management

  • Manage different coding agents together: Supports CLI agents including Claude Code, Codex, Pi, Gemini, and OpenCode. Use existing subscriptions and accounts to run, switch between, and manage them in one application.
  • Native worktree isolation: Each task has its own Git worktree, terminal, and browser, allowing multiple agents to work on the same repository in isolated environments. Different agents can tackle the same problem in parallel so you can compare implementations and choose the best fit.
  • Track multiple tasks in one place: Organize agent sessions by project and worktree, inspect execution status, history, and task context, resume sessions, hibernate agents, and search across worktrees.
  • Let agents operate the workspace: Through the Orca CLI, agents can create and manage worktrees, capture browser snapshots, click elements, and fill in pages, directly using the environment Orca provides.

II. Browser and visual development

  • A dedicated browser for each worktree: The built-in Chromium browser lets you open, inspect, and debug running pages in the corresponding task environment.
  • Design Mode · Point out page issues visually: Select a page element and send its HTML, CSS, and a cropped screenshot to the agent. Useful for UI adjustments, matching designs, and fixing frontend issues, without manually taking screenshots, locating elements, or describing their position.
  • Flexible splits and a full terminal: Arrange agent, terminal, browser, code, and diff panels freely. The terminal supports GPU-accelerated rendering, history search, and restored scrollback after restart.

III. Code review and development workflows

  • Review AI code changes line by line: The built-in diff viewer supports Markdown comments on individual changed lines, which can be sent to the agent as a batch for revision.
  • Native GitHub and Linear integration: View issues, pull requests, project boards, and CI status directly; create worktrees from tasks; and review code, resolve conflicts, commit changes, and manage pull requests.
  • Built-in editor and file previews: Provides code editing based on VS Code editor technology, autosave, quick-open, and previews for Markdown, images, PDFs, and other content. Drag files and images into the workspace to give agents context.

IV. Remote development and mobile work

  • SSH and remote worktrees: Run agents on remote servers while retaining file editing, Git, terminal, and browser capabilities, with automatic reconnection, port forwarding, and SSH key passphrase caching.
  • iOS / Android companion apps: Away from your computer, check agent status, usage, and execution progress, switch accounts, connect to workspaces, and continue using the terminal.
  • Account usage and limit management: See Claude and Codex usage and limit reset times together, with quick switching between Codex accounts.

Free, open source, and cross-platform: MIT-licensed, with support for macOS, Windows, and Linux.

04 / INSTRUCTIONS

Working philosophy and model behavior

General · Personal Working Standards

Read the General principles →
  • Pursue simplicity and excellence through first principles: Apply first-principles thinking, Occam’s razor, MECE, the Pyramid Principle, orthogonality and decoupling, Less is More, and Show, Don’t Tell. Actively draw on cutting-edge practices from the world’s leading practitioners and entrepreneurs; reject habitual thinking and unnecessary complexity.
  • Put QoL and DX first: Make reducing people’s cognitive and operational burden the foremost engineering optimization goal. Aggressively consolidate, simplify, reuse, and automate to reduce reading, memorization, waiting, context switching, repetitive operations, and manual transfers.
  • Drive Agent Swarms with autonomy and efficient coordination: The lead agent owns goals, task decomposition, delegation, dependencies, resources, acceptance, and integration; subagents independently advance investigation, design, implementation, and validation. Maximize sensible parallelism and reduce sequential waiting, communication overhead, and human intervention.
  • Isolate tasks with worktrees and integrate autonomously: Isolate tasks in separate worktrees, keeping the main worktree on an integration branch at all times. Agents independently complete development, validation, integration back into the main worktree, commits, and cleanup, delivering a complete task lifecycle without manual transfers.
  • Prioritize external innovation; reject reinventing the wheel: Before adding capabilities, actively research mature products worldwide, open-source ecosystems, industry standards, and the latest innovative practices. Prioritize reusing existing implementations and platform capabilities. Decide whether to build in-house based on actual benefits, fit, and cost.
  • Complete working cycles quickly and balance technical debt pragmatically: Start from real user needs and get runnable, end-to-end functionality working as early as possible. Prioritize solving real problems, balance delivery speed, long-term maintenance costs, and technical debt, and reject overdesign, excessive abstraction, and perfection for its own sake.
  • Reject excessive defensiveness and procedural formalism: Do not treat verification, audits, proof, processes, or risk controls as deliverables in themselves. Take necessary measures according to actual risk and the cost of errors. Avoid endlessly expanding validation, imposing artificial hurdles, or turning localized uncertainty into a blocker for the entire task.
  • Accept AI’s imperfections and optimize overall benefits: Judge model quality by overall results, allowing reasonable semantic errors and localized regressions. Give due weight to the trade-off between recall and precision. Reject adding hardcoded rules, permanent exclusions, complex filters, and endless patches for individual failing examples.
  • Integrate meaning efficiently and maintain context continuity: Keep task goals, code, interfaces, decisions, responsibilities, and execution context consistent. Use a single source of truth, clear task ownership, and the minimum necessary recovery information to maintain continuity across agents, sessions, and worktrees.
  • Use natural agent communication to reduce communication costs: Use accurate, complete, natural, accessible language. Reject invented terms, industry jargon, robotic phrasing, and lengthy defensive wording. Lead with conclusions, highlight key judgments and necessary actions, and avoid creating meaningless choices or information burdens.
  • Keep authorization clear, execution autonomous, and ownership focused on results: Define authorization boundaries for external side effects and production operations. Independently complete necessary work within those boundaries without repeatedly requesting approval. Judge completion by real user outcomes rather than partial tests or process records, and proactively complete integration, acceptance, delivery, and resource cleanup.
  • Minimize rules and prioritize machine enforcement: Give each rule a single authoritative source. Do not rely on repeated written reminders for constraints that tools and automation can reliably enforce. Continually remove redundant rules so that the standards themselves do not become a cognitive or execution burden for agents.

GPT · Standards for Correcting Model Behavior

Read the GPT behavior principles →
  • Reject meaningless critical thinking: Do not invent rebuttals, create false dichotomies, force a balance between opposing views, or overuse defensive wording such as “this does not justify concluding” or “this has not yet been proven.” Apply critical analysis only when it materially affects judgment and decisions.
  • Reject excessive research-style demands for proof: Work in the context of product development, business practice, and engineering decisions under limited resources. Allow reasonable assumptions, experience-based judgment, and decisive action with incomplete information. Do not pursue absolute certainty, exhaustive validation, or zero risk.
  • Overcome GPT’s tendency toward excessive defensiveness and conservatism: Reject habitually adding verification, audits, snapshots, rollbacks, gates, fallbacks, and complex processes. Risk controls must match actual risks, their likelihood, their impact, and implementation costs. Never create real-world complexity for merely theoretical problems.
  • Be relentlessly pragmatic and prioritize real results: Measure work by actual user outcomes and business value. Prioritize making functionality work reliably and solving core problems. Put getting something working ahead of perfecting something already good. Balance speed, quality, cost, and technical debt without sacrificing delivery efficiency for formal perfection.
  • Apply Occam’s razor and firmly reject overengineering: Abstractions, intermediary layers, compatibility mechanisms, checks, tests, and governance processes without clear benefits should not exist. Reuse does not mean adding abstraction. Unify shared capabilities sensibly and avoid fragmentation and architectural perfectionism.
  • Fail fast; never conceal errors: Expose failures explicitly where they occur. Validate once at the boundary, then trust established types and constraints internally. Never manufacture a false appearance of correctness through silent fallbacks, swallowed exceptions, fabricated status, substitute data, or altered acceptance criteria.
  • Fix root causes and actively remove legacy baggage: When workarounds recur, reassess root causes, architecture, and dependency choices. After fixing the issue, proactively delete temporary solutions, obsolete compatibility code, ineffective fallbacks, redundant tests, and invalid configurations. Do not let technical debt accumulate indefinitely.
  • Respect existing agreements and strictly control task scope: First investigate actual code, data, existing capabilities, and past decisions, and respect proven designs. Distinguish bug fixes, necessary adaptations, and new features. Never expand requirements, overturn established plans, or modify unrelated work without authorization.
  • Validate through real entry points; reject testing formalism: Validate complete functionality, failure handling, and actual results through real user journeys and consumer entry points. Match testing intensity to risk and prioritize reusing effective tests. Reject treating test counts as a measure of quality, brittle assertions, repeated validation, and unnecessary testing infrastructure.
  • Integrate efficiently in increments and reduce coordination delays: Define shared interfaces early and integrate continuously through small, runnable increments. Clearly distinguish proposed designs from validated, usable capabilities. Notify only the tasks that are actually affected, avoiding irrelevant synchronization, accumulated rework, and escalating communication overhead.
  • Use natural language; reject GPT’s robotic tone: Lead with conclusions and answer the real question directly. Prohibit meaningless negative comparisons, contrasts, qualifications, jargon piles, and lengthy explanations. When the user points out an error, correct it directly. Final deliverables must present only the correct state, without retaining the error or traces of its correction.
  • Deliver completely and stop when finished: The user’s goal is the sole criterion for completion. Independently resolve necessary upstream and downstream issues within the authorized scope. Do not treat partial tests as delivery or ask users to perform validation on your behalf. Stop immediately once the goal is met; do not prolong the task with extra optimization, audits, documentation, or separate improvements.

Principles used by this configuration: General · GPT / PRINCIPLES.codex.md · Export tools

05 / ENGINEERING

An engineering philosophy for autonomous agents

  • Understand my intended outcome and own its delivery: I expect an agent to understand who has a problem and what should change when it is solved, then organize the work around that outcome. It should use that purpose to guide decisions throughout the task, take care of the necessary steps, and follow through until the user can obtain the agreed result.
  • Investigate with a purpose and build on existing knowledge: Before making changes, examine actual behavior, available capabilities, and earlier decisions to identify the real gap. Compare existing implementations, platform capabilities, and established external solutions against that gap, weighing adaptation costs and long-term value. Move into execution once the findings support a practical decision.
  • Organize implementation around a complete, valuable workflow: Think through the journey from the user's first action to the intended result, then connect it through a representative scenario that can run early. Use that workflow to expose critical assumptions, integration problems, and usability obstacles. Build subsequent work on what already runs and continue until the full requirement is met.
  • Organize an Agent Swarm to make parallel work worthwhile: For complex tasks, the lead agent should identify work that can proceed independently and decisions that must be shared first. Give each subagent a clear goal, sufficient context, and responsibility for its deliverable. Arrange isolation and collaboration around the actual dependencies, adjust assignments as work progresses, and retain ownership of the integrated outcome.
  • Keep the meaning of the work consistent as it comes together: When connecting contributions, verify that they share the same understanding of user behavior, inputs and outputs, failures, and completion. Combine runnable parts early. Resolve disagreements against the shared goal and update the affected implementation and explanations so the system consistently expresses the intended product behavior.
  • Verify the user outcome through the real entry point: The agent should follow the path users actually take and observe whether the result is usable, important failures are visible and handled, and existing behavior is preserved. Address gaps and verify the fixes. Explain the observed outcome, the scope of validation, and any decisions still needed from the user, giving the delivery claim a concrete basis.
  • Make timely decisions by weighing value and cost: With incomplete information, use available facts, established experience, and the cost of being wrong to choose a simple solution that meets the need. Focus validation on questions that could change the decision or affect the user outcome. Evaluate model capabilities through overall effectiveness, cost, and latency, and adjust as new evidence arrives.
  • Actively move dependencies toward resolution: When progress depends on another contribution, establish what is needed, who owns it, and when it will be usable, then coordinate within the granted authority. Make changes, consequences, and requested actions immediately clear to the recipient. Continue independent work while waiting, then incorporate and verify the result when it becomes available.
  • Let machines carry the repeatable work: Notice recurring searches, transfers, checks, and housekeeping while carrying out the task. Use existing tools to connect those steps into a coherent workflow. Where the ongoing benefit justifies it, turn stable practices into reusable automation with clear failure feedback, freeing human attention for goals, judgment, and tradeoffs.
  • Understand the authorization and act independently within it: Remember the decisions the user has already made and carry out the necessary investigation, implementation, validation, and cleanup accordingly. When additional authority or a consequential choice is genuinely needed, complete the independent preparation first. Present a concrete result, its implications, and a recommendation so the user can make an informed decision in one step.
  • Improve incrementally with long-term maintenance in mind: Understand and preserve proven behavior with each change, and introduce complexity only when it brings a clear benefit to the current problem. Investigate root causes when obstacles recur and remove temporary measures that the fix makes obsolete. Improve structure in response to actual use and change, balancing delivery speed with future maintenance costs.
  • Finish the task with a complete handover and cleanup: Once the result is usable, integrate the deliverables, update the relevant explanations, and release the task's temporary resources so the user can find and use the current result directly. If responsibilities remain, make ownership and the next action explicit. Conclude promptly when all agreed outcomes have been achieved, bringing the delegated task to completion.
06 / DEFAULTS

Model settings

SettingCodexPiClaude Code
Modelgpt-6-astramagpie / codex/gpt-6-astraopus[1m]
Reasoning effortmedium
Plan mode: medium
mediumhigh
Context380,000380,000Model selector includes [1m]
Maximum outputNo independent field in the inspected client version128,000Not explicitly set
07 / PI HARNESS

Nine Pi plugins and what they do

1. FFF · Repository file and code search

Provides fuzzy filename search, full-text search, pagination, and smart ranking. File access frequency, recent usage, and Git status help locate relevant code quickly, reducing directory-by-directory browsing and repeated searches.

2. Lens · Code structure and semantic analysis

Skills and sources →

Reads code by function, class, or method; finds definitions and references; analyzes AST structure; and retrieves type diagnostics. These capabilities help the agent understand code relationships, trace dependencies, and check changes precisely.

3. Web Access · Web search and content retrieval

Supports web search, page-content extraction, video understanding, and GitHub source retrieval, enabling agents to consult technical documentation, research external solutions, and gather references independently.

4. Processes · Background process management

Skill source →

Starts, monitors, and stops development servers, tests, and other long-running commands. Log access, status tracking, and event notifications let agents continue other work while background tasks run.

5. Subagents · Parallel collaboration across agents

Creates, manages, and resumes independent subagent sessions, with roles such as Explore, Plan, and general-purpose. Research, planning, implementation, and verification can run in parallel, with the lead agent coordinating and integrating the work.

6. SoL-Pi · Tool-call and token optimization

Provides four independent optimization mechanisms; the first three are currently enabled:

  • Action Fusion · Combined tool calls: Enhances file editing and writing tools by combining code changes and follow-up checks in a single call, reducing model–tool round trips and waiting time.
  • ObservationPack · Large outputs on demand: Stores lengthy tool outputs locally and provides the model with a short preview and reference handle. The original content can be retrieved page by page through obs_recall when needed, reducing context usage.
  • Evidence-Preserving Reducer · AI-assisted log reduction: Uses the separate openai-codex / gpt-6.1-sol model to condense lengthy test, compilation, and diagnostic logs while retaining key errors and verifiable original evidence, reducing token consumption by the main model.
  • Online Context Compact · Automatic conversation compaction (disabled): Uses task stages and context usage to decide whether to compact conversation history early. This feature is currently disabled, so SoL-Pi performs no additional online context compaction.

7. Compact UI · Compact execution interface

Sources and versions →

Organizes reasoning and tool calls into an expandable tree, bringing together execution status, arguments, elapsed time, and output summaries to make long-running and parallel work easier to follow.

8. File Links · Quick access to local files

Sources and versions →

Turns local file paths in agent responses into clickable links, making it easy to open code, documents, and generated files directly, with less manual path copying and file browsing.

9. BTW · Independent side conversations

Sources and versions →

Opens a temporary conversation with /btw, with selectable context and multiple discussion threads. It provides a separate space to ask questions, discuss approaches, or handle side issues while the main task continues.

08 / GETTING STARTED

Learn, compare and apply with your agent

Have your agent read the article and original standards, compare them with how you use AI, and explain the engineering philosophy and tradeoffs. Then apply the full setup to your goals and within your authorization, observe the results on real tasks and refine your preferences.

  1. Read the sources and compare with your own workflow

    Read chapters 04 and 05 and the original standards, or send the prompt below directly to your agent. Have it use your current instructions and everyday tasks to explain similarities, differences, gaps and tradeoffs so you can decide how to apply the setup.

    Read the General standards Read the Codex standards

  2. Copy the prompt to learn and set up with your agent

    Send the prompt below to your agent; it includes the article and GitHub repository links. The repository is currently private and can be accessed with existing authorization. If access is unavailable, provide the downloaded HTML or original files. The agent learns and compares first, then adapts, configures and verifies the setup based on your decisions and authorization.

    Read the package README Read runtime requirements

    Learning and setup prompt
    Please read Limin Ge’s article https://liminge.space/ai-harness-kit and the original materials at https://github.com/Ge-limin/ai-harness-kit. Compare them with my current AI instructions and setup, explain the differences and tradeoffs, and teach me his engineering philosophy using my everyday tasks. Show me how to adopt the complete harness: instructions, tools, configuration, and workflows. Explain what I can copy directly and what needs adapting to my environment. Preserve my working settings and explain tradeoffs where they conflict. With my authorization, carry out the adaptation and configuration, verify the results through real tasks, and briefly report the outcome. If access to any material is restricted, ask me to provide it first; do not guess its contents.
  3. Observe the agent on real work

    Once setup is complete, give the agent a task you actually need done. Observe whether it understands the goal, investigates existing capabilities and makes sound decisions; coordinates and integrates work where useful; verifies results through the real entry point; and updates notes, identifies remaining responsibilities and cleans up temporary resources. Judge the outcome through usable deliverables and verification evidence.

    Read the decision, collaboration and delivery standards

  4. Give feedback and refine your preferences

    Give the agent concrete feedback: whether updates are too frequent, explanations are clear, or important decisions reach you at the right time. Ask it to use those examples to adjust the relevant instructions or settings, explain the expected changes, and verify their effects in subsequent real work. You continue to decide on new permissions or costs.

    Read instruction destination settings

09 / READING MAP

Follow the guide back to the originals

Team engineering standards are optional references requiring GitHub repository access. See their provenance and sync status in the source index →

What to readLocation and purpose
Shared working practicesgeneral + codex · export tools
Client settingsCodex · Pi · Claude Code · Orca hooks · Magpie specifications
Project engineering standardsGitHub · Engineering tasks, development and validation
Engineering entryGitHub · Team engineering standards
Project working conventionsGitHub · Project working standards
Business entryGitHub · Business working conventions
Skills and dependenciesSkills and sources · Dependencies · Sources and versions
Provenance and checksSOURCES.md · manifest.json · validation.md

Official product sources

Checked on 2026-10-29. These sources describe product capabilities; personal defaults are documented in this repository’s configuration files.

  • Stably Orca · Official README: section 3 summarizes its main advantages from the official website.
  • Pi · Coding-agent repository: the terminal agent, extensions, and package system.
  • Claude Code overview: code reading, file editing, command execution, and terminal, IDE, desktop and browser entry points.
  • Codex: features and entry points for OpenAI’s coding agent.
  • Magpie: model access, provider management, and client configuration.

Descriptions of settings and rules are based on this repository’s original files. Orca product capabilities link to official sources in section 3. Project documents provide the working context; members adapt the setup to their own repositories, accounts and execution environments.