forceinjection.github.io AGENTS.md

Repository instructions for an AI infrastructure learning site built with Markdown and Jekyll, a tool that turns content into a local website.

In plain words
What is it for?
They guide the correct Ruby environment, local Jekyll startup, troubleshooting, and the project’s coverage of hardware, GPU programming, AI systems, and deployment.
Why use it?
They prevent Ruby and Bundler version mismatches that can stop the site from running locally.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/forceinjection/forceinjection.github.io/agents-md
Clone the repo
git clone --depth 1 https://github.com/ForceInjection/forceinjection.github.io

Made for: Codex, OpenCode.

Per session 1,145 This file is loaded in full into every session.
When invoked 1,145 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01145 $0.01145
Opus 5 $0.00573 $0.00573
Sonnet 5 $0.00229 $0.00229
Haiku 4.5 $0.00114 $0.00114

Measured yesterday against content hash 388146ac1e39, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

forceinjection.github.io AGENTS.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 yesterday.

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.

AGENTS.md · 51 lines

How it starts

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

项目概览与工具使用说明

AI Fundamentals 是一个全面的人工智能基础设施(AI Infrastructure)学习资源集合,涵盖从底层硬件架构到上层高级应用的完整技术栈。内容体系包括 GPU 架构与编程、CUDA 开发、大语言模型(LLM)、AI 系统设计、性能调优以及企业级云原生部署等核心领域。该项目致力于为 AI 工程师、系统架构师以及技术研究人员提供系统化的学习路径与高价值的实践指导。所有内容来源于项目根目录的官方介绍文档。


2 Jekyll 本地开发环境

Ruby 版本管理

本项目使用 Ruby 3.2.7(通过 rbenv 管理),.ruby-version 文件已固定为 3.2.7

  • 禁止使用系统自带的 Ruby(macOS 默认 2.6),否则 bundle installjekyll serve 会报 Bundler 版本不匹配错误。
  • 所有 Jekyll 相关命令必须通过 rbenv exec 调用,以确保使用正确的 Ruby/Gem 上下文。

本地启动命令

# 在项目根目录执行(确保 rbenv 已激活 3.2.7)
rbenv exec bundle exec jekyll serve --port 4000

常见错误排查

错误信息 原因 解决方案
Could not find 'bundler' (2.4.19) 使用了系统 Ruby 2.6 改用 rbenv exec bundle exec jekyll serve
You must use Bundler 4 or greater 使用了 Homebrew 内置 Jekyll(基于 Ruby 4) 改用 rbenv exec bundle exec jekyll serve
bundler: command not found: jekyll 未在项目 bundle 环境中执行 rbenv exec bundle install,再 rbenv exec bundle exec jekyll serve

1 核心技术模块

项目内容主要分为以下几个核心模块:

  • 01_hardware_architecture(硬件架构):涵盖从单机计算芯片(GPU、TPU)到大规模集群互联的技术细节,包括 GPUDirect、PCIe 总线以及 NVLink 等互连技术。
  • 02_dpu_programming(DPU 编程):包含 DOCA 编程指南等 DPU 相关的基础开发与实践内容。
  • 02_gpu_programming(GPU 编程基础):提供完整的开发知识体系,包含环境构建、CUDA 核心编程范式以及性能分析与调优指南。
  • 03_ai_cluster_ops(AI 集群运维与通信):包含 GPU 基础监控运维、InfiniBand 高性能网络以及 NCCL 分布式通信实战。
  • 04_cloud_native_ai_platform(云原生 AI 基础设施):聚焦 Kubernetes 生态在 AI 场景下的应用,探讨 GPU 资源池化(如 HAMi)、弹性调度与分布式推理/存储系统设计。
  • 05_model_training_and_fine_tuning(模型训练与微调):提供 AI 运维设计思路及垂域大模型 SFT 微调实践案例。
  • 06_llm_theory_and_fundamentals(大语言模型理论与基础):深度剖析量化、混合专家模型(MoE)、Embedding 技术,以及深度研究(Deep Research)等前沿 Agent 框架设计。
  • 07_rag_and_tools(RAG 与工具):包含知识图谱(KG)、GraphRAG 的实践指南、PDF 解析工具(如 MinerU、Marker)介绍,以及 RAG 系统的分块策略与 Embedding 选型分析。
  • 08_agentic_system(智能体系统):探讨 Agent 基础设施、多智能体系统(Multi-Agent System)架构、记忆管理机制(MemoryOS、MemMachine)、MCP(Model Context Protocol)协议及上下文工程(Context Engineering)。
  • 09_inference_system(推理系统与优化):专注于大模型推理服务优化,涵盖 KV Cache 核心技术(如 LMCache、KVBM)、vLLM 高级应用、内存计算分析及企业级推理解决方案设计。
  • 10_ai_related_course(AI 相关课程):整理了 AI Infra、AI 编程实战(如 Trae 进阶教程)、多智能体培训等系统性课程的课件、讲稿与实战案例。
  • 98_llm_programming(大模型编程):汇总了面向开发者的 LLM 编程实践指南,包括 LangGraph 框架应用、Java 生态(Spring AI)集成以及 Harness Engineering 探索。

Read the full file on GitHub · 51 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. yesterday First seen · 51 lines · 1,145 tokens per session scan A 388146ac1e39

Subscribe to this mod's changes

forceinjection.github.io AGENTS.md is an instructions file published in the GitHub repository ForceInjection/forceinjection.github.io (51 stars, last pushed 7d ago), licensed Apache-2.0. It adds 1,145 tokens to every session, about $0.0057 per session on Opus 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.