forklift-console-plugin AGENTS.md

forklift-console-plugin AGENTS.md is an instructions file for Codex, OpenCode from kubev2v/forklift-console-plugin. It costs 5,516 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for Forklift Console Plugin that focus on TypeScript, React, and PatternFly interface code. They define conventions such as type definitions, imports, and handling nullable values.

In plain words
What is it for?
Use them when writing or reviewing TypeScript and React components, imports, types, null handling, or PatternFly-based interface changes.
Why use it?
They help an AI agent produce code that matches the repository’s style and avoids common type-safety and component-maintenance problems. Broader project and migration context is provided in separate rules.

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/kubev2v/forklift-console-plugin/agents-md
Clone the repo
git clone --depth 1 https://github.com/kubev2v/forklift-console-plugin

Made for: Codex, OpenCode.

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 forklift-console-plugin AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kubev2v/forklift-console-plugin/agents-md.svg)](https://agentmods.dev/instructions/kubev2v/forklift-console-plugin/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/kubev2v/forklift-console-plugin/agents-md"><img src="https://agentmods.dev/badge/instructions/kubev2v/forklift-console-plugin/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 5,516 This file is loaded in full into every session.
When invoked 5,516 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.05516 $0.05516
Opus 5 $0.02758 $0.02758
Sonnet 5 $0.01103 $0.01103
Haiku 4.5 $0.00552 $0.00552

Measured 3d ago against content hash b7a5ae3e7cb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

forklift-console-plugin 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 3d 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.

AGENTS.md · 710 lines

How it starts

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

AI Assistant Guidelines for Forklift Console Plugin

Project overview, tech stack, and domain knowledge: See .cursor/rules/project-context.mdc for Forklift-specific context (CRDs, providers, migration flow, architecture). This file focuses on coding standards and conventions.


Code Style & Conventions

TypeScript

  1. Use type instead of interface for type definitions:

    // ✅ Good
    type UserProps = {
      name: string;
      age: number;
    };
    
    // ❌ Bad
    interface UserProps {
      name: string;
      age: number;
    }
    
  2. Type imports:

    • If all imports from a module are types, use import type:
      // ✅ Good - all imports are types
      import type { FC, ReactNode } from 'react';
      import type { UserProps } from './types';
      
    • If some imports are types and some are values, use inline type keyword:
      // ✅ Good - mixed types and values
      import { type FC, useState, type ReactNode } from 'react';
      
    • Never separate type and value imports from the same module:
      // ❌ Bad - separate imports from same module
      import type { FC } from 'react';
      import { useState } from 'react';
      
  3. Strict null checks are enabled - always handle nullable values properly.

React

  1. Never use default or star imports for React:

    // ✅ Good
    import { useState, useEffect, type FC } from 'react';
    
    // ❌ Bad
    import React from 'react';
    import * as React from 'react';
    
  2. Use functional components with FC type:

    const MyComponent: FC<MyComponentProps> = ({ prop1, prop2 }) => {
      return <div>{prop1}</div>;
    };
    
  3. Export components as default at the end of the file (for component files).

PatternFly Components

  1. Use ButtonVariant enum instead of string literals:
    // ✅ Good
    <Button variant={ButtonVariant.primary}>Click</Button>
    
    // ❌ Bad
    <Button variant="primary">Click</Button>
    

Read the full file on GitHub · 710 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. 3d ago First seen · 710 lines · 5,516 tokens per session scan A b7a5ae3e7cb6

Subscribe to this mod's changes

forklift-console-plugin AGENTS.md is an instructions file published in the GitHub repository kubev2v/forklift-console-plugin (11 stars, last pushed 4d ago), licensed Apache-2.0. It adds 5,516 tokens to every session, about $0.0276 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.