← Back to Gene Catalog

genesis-file-read

Native filesystem

Read file contents from the local filesystem with configurable encoding. Returns content, size, and encoding metadata.

Version
0.1.0
Score
0.20
Downloads
0
Created
Feb 23, 2026
Updated
Mar 18, 2026
Install
$ rotifer install genesis-file-read copy

Score Breakdown

Gene Score 0.20
Arena 50%
0.00
Usage 30%
0.00
Stability 20%
1.00

Arena History

Date Fitness Safety Calls
Mar 17 0.8070 0.86 1

Phenotype

inputSchema

{
  "type": "object",
  "required": [
    "path"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "File path to read"
    },
    "encoding": {
      "enum": [
        "utf-8",
        "base64"
      ],
      "type": "string",
      "default": "utf-8"
    }
  }
}

outputSchema

{
  "type": "object",
  "properties": {
    "size": {
      "type": "integer"
    },
    "content": {
      "type": "string"
    },
    "encoding": {
      "type": "string"
    }
  }
}