Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

E7041 Report The Attributes Of A File

ASecurity

Produce the attribute report an on-board file management service returns for one named file under ECSS-E-ST-70-41C clause 6.23.4.2. Use when a ground request asks what a file is and the answer has to keep a missing repository, a missing file and a name that is really a sub-repository apart: normalising the repository path, refusing each of the three cases with its own code, reporting size in octets, lock state and whether an uplink or downlink still holds the file open, and deriving from thos...

2 stars
0 votes
0 copies
0 views
Added 9/27/2026
ai-agentspython

Works with

claude code

Security Analysis

A100/100

Scanned 9/27/2026

Install to Claude Code

$npx -y skills add ashfordeOU/aero-agent-skills --skill e7041-report-the-attributes-of-a-file --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of E7041 Report The Attributes Of A File?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for E7041 Report The Attributes Of A File
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ashfordeou-e7041-report-the-attributes-of-a-file/badge)](https://www.skillsdirectory.com/skills/ashfordeou-e7041-report-the-attributes-of-a-file)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: e7041-report-the-attributes-of-a-file
description: "Produce the attribute report an on-board file management service returns for one named file under ECSS-E-ST-70-41C clause 6.23.4.2. Use when a ground request asks what a file is and the answer has to keep a missing repository, a missing file and a name that is really a sub-repository apart: normalising the repository path, refusing each of the three cases with its own code, reporting size in octets, lock state and whether an uplink or downlink still holds the file open, and deriving from those whether a delete or an overwrite issued now would be accepted while a read still would. Trigger: ecss, e-st-70-41c, pus-file-management, report-file-attributes-request, on-board-repository-path, file-lock-state, file-transfer-in-progress, file-attribute-failure-code."
license: Apache-2.0
compliance: STANDARDS-REF
standards:
  - id: ecss
    reference-only: true
gated: false
domain: space-systems
pack: space-systems
compatibility: "agentskills.io SKILL.md; any SKILL.md host (Claude Code, Hermes, OpenClaw)"
metadata:
  domain: space-systems
  subdomain: ecss
  tags: [ecss, e-st-70-41-file-management-scope, e7041-report-the-attributes-of-a-file, report-file-attributes-request, on-board-repository-path, file-lock-state, file-transfer-in-progress, file-attribute-failure-code]
  version: 0.1.0
  author: Aero Agent Skills
---

# ECSS Packet Utilisation — Report the Attributes of a File (space-systems/ecss/e7041-report-the-attributes-of-a-file)

Use when the task is the attribute request of ECSS-E-ST-70-41C clause
6.23.4.2 -- the ground names one file by the repository holding it and
the name it has inside that repository, and the on-board file
management service answers with what it knows about that file.

## Domain quick reference

- A file is addressed by two things, never one: a repository path and
  a name within that repository. The same name in two repositories is
  two different files, and a request that carries only the name is
  under-specified rather than ambiguous.
- The report carries the size in octets, whether the file is locked
  against change, and whether an on-board transfer currently holds it
  open. Everything an operator actually asks for is derived from those
  three, not read off separately.
- A request can fail three different ways and they are not
  interchangeable. The repository path names nothing: an addressing
  mistake on the ground. The repository exists but holds no such file:
  usually a file already deleted or never produced. The name given as
  a file is a sub-repository: an operator asking a directory for a
  size. Each sends the investigation somewhere different.
- Size is the downlink question. It decides whether the file fits the
  budget for the pass, so an attribute request is usually the step
  before a downlink request, not an end in itself.
- Lock state and open-transfer state together answer the delete
  question. Either one alone is enough to refuse a delete, a rename or
  an overwrite, and they are independent: a file can be unlocked and
  still held, or locked and idle.
- Reading is not blocked by either. A locked file is still
  downlinkable and a file being written can still be read. Treating
  the lock as a general no-access flag is the common inversion.
- Path spelling is not identity. A leading or trailing separator, or a
  doubled one, is a spelling of the same path, so normalise before
  comparing or two spellings of one repository look like two.

## Workflow

1. Normalise the repository path: strip the outer separators, reject
   an empty inner segment and a relative marker, validate each segment
   as a name, and enforce the path and name octet caps.
2. Resolve the repository. Absent, answer with the repository failure
   code and stop -- do not fall through to a file search.
3. Check the name against the sub-repository list before the file
   list, so a directory asked for its size gets the third code rather
   than the file-not-found one.
4. Find the file record. Absent, answer with the file failure code.
5. Report size, lock state, transfer state and creation time as held.
6. Derive the permissions: deletable, overwritable and renameable all
   require unlocked and idle; readable is unconditional.
7. For a request set, group the failures by code, total the octets of
   only the successful answers, and count the locked and held files.

## Pitfalls

- Collapsing the three failures into one "not found". The operator
  then cannot tell a mistyped repository from a deleted file.
- Searching the file list before the sub-repository list. A directory
  asked for its attributes reports as a missing file, and the sizing
  mistake behind the request is never seen.
- Reading the lock as no-access. It blocks change, not retrieval, so a
  locked file is still the one to downlink.
- Ignoring the open transfer because the file is unlocked. A file
  being uplinked right now is as undeletable as a locked one.
- Totalling the octets of a batch without dropping the failed answers.
  The downlink budget then counts files that were never found.
- Comparing raw path strings. Two spellings of one repository path
  become two repositories and half the requests fail.

## Behavior contract (gate 3)

The name and path validation, the three distinct failure codes, the
sub-repository-before-file resolution order, the derived delete,
overwrite, rename and read permissions, the batch ordering and the
per-code failure summary are exercised by the gate 3 contract test:
scripts/test_e7041_report_the_attributes_of_a_file.py against
scripts/e7041_report_the_attributes_of_a_file_logic.py (stdlib
unittest, offline). Run:
python3 scripts/test_e7041_report_the_attributes_of_a_file.py

## Compliance

- ECSS standards are freely downloadable (ESA); cite the source and
  paraphrase per standards-map.yaml.
- compliance: STANDARDS-REF, gated: false.

Attribution

ashfordeOUashfordeOU
View sourceMore from ashfordeOU →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

694821 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →