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 The Ccsds Space Packet General

ASecurity

Verify that the telemetry and telecommand crossing a space-to-ground interface are CCSDS space packets, under ECSS-E-ST-70-41C clause 7.4.2. Use when octets arriving on a link have to be identified before anything inside them is trusted: checking the packet version number first because a wrong one means these are not space packets at all, range-checking the application process identifier, sequence flags and sequence count, reading the data length field as one less than the data field it sizes...

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

Works with

claude codeapi

Security Analysis

A100/100

Scanned 9/27/2026

Install to Claude Code

$npx -y skills add ashfordeOU/aero-agent-skills --skill e7041-the-ccsds-space-packet-general --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of E7041 The Ccsds Space Packet General?

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

Security grade badge for E7041 The Ccsds Space Packet General
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ashfordeou-e7041-the-ccsds-space-packet-general/badge)](https://www.skillsdirectory.com/skills/ashfordeou-e7041-the-ccsds-space-packet-general)

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

Download with Pro
Files
SKILL.md
---
name: e7041-the-ccsds-space-packet-general
description: "Verify that the telemetry and telecommand crossing a space-to-ground interface are CCSDS space packets, under ECSS-E-ST-70-41C clause 7.4.2. Use when octets arriving on a link have to be identified before anything inside them is trusted: checking the packet version number first because a wrong one means these are not space packets at all, range-checking the application process identifier, sequence flags and sequence count, reading the data length field as one less than the data field it sizes, and reconciling the stated total with the octets present. Trigger: ecss, e-st-70-41c, ccsds-space-packet-container, six-octet-primary-header, packet-data-length-minus-one, application-process-identifier-range, packet-sequence-count-wrap, idle-apid-reserved-value."
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-packet-utilisation-scope, e7041-the-ccsds-space-packet-general, ccsds-space-packet-container, six-octet-primary-header, packet-data-length-minus-one, application-process-identifier-range, packet-sequence-count-wrap]
  version: 0.1.0
  author: Aero Agent Skills
---

# ECSS Packet Utilisation — The CCSDS Space Packet, General (space-systems/ecss/e7041-the-ccsds-space-packet-general)

Use when the task is clause 7.4.2 of ECSS-E-ST-70-41C — the single
normative item that fixes what travels on the space-to-ground
interface, and therefore the container every other clause of the
standard is describing the contents of.

## Domain quick reference

- One sentence carries the whole interface: every telemetry report and
  every telecommand request crossing it is a CCSDS space packet.
  Nothing else is on the wire, so identifying the container correctly
  is the precondition for every service-level interpretation.
- The container is a six-octet primary header followed by a packet
  data field of at least one octet.
- The header divides into the packet version number over three bits,
  the packet type over one, the secondary header flag over one, the
  application process identifier over eleven, the sequence flags over
  two, the packet sequence count or name over fourteen, and the packet
  data length over sixteen.
- The version number is checked first and on its own. A value other
  than the supported one means these octets are not a space packet,
  and every field parsed after it is a coincidence.
- The data length field states the octet count of the data field minus
  one. The offset exists so sixteen bits can express a full
  65536-octet data field, and it is why a header-only packet has no
  representation at all: the smallest space packet is seven octets.
- The application process identifier says which on-board process the
  packet belongs to. Its all-ones value is reserved for idle packets,
  which fill a frame and carry no service.
- The sequence count is a per-process counter that wraps at its
  fourteen-bit span, so a gap is measured modulo that span and a wrap
  is not itself a gap.
- Type and direction have to agree. A telemetry-typed packet on the
  uplink is mislabelled rather than unusual, and the mislabelling
  survives every check that looks only inside the data field.

## Workflow

1. Take the six header octets as three big-endian words and split the
   fields by width before interpreting any of them.
2. Check the version number and stop there if it is not the supported
   one. Reporting a plausible application process identifier out of
   octets that are not a space packet is worse than reporting nothing.
3. Range-check each remaining field against its own width, refusing
   rather than masking; a masked value is a different packet that
   parses.
4. Convert the length field to a data-field size by adding one, and
   the whole packet size by adding the header on top.
5. Reconcile the stated total against the octets actually present. A
   disagreement is the finding that explains every downstream
   mis-parse.
6. Compare the type against the direction the packet was observed on,
   and the secondary header flag against whether the packet carries a
   service at all.
7. Where a previous count for the same application process is known,
   measure the gap modulo the counter span so a wrap reads as
   continuous and a repeat reads as a full-span jump.

## Pitfalls

- Parsing the rest of the header before the version number. Every
  field has a plausible value in arbitrary octets.
- Reading the length field as the data-field size. Everything after
  the packet is then located one octet early.
- Treating the sequence-count wrap as a gap. A long pass crosses it
  routinely and the false gaps bury the real ones.
- Masking an out-of-range field to make it fit. The packet then parses
  as a different, valid-looking one.
- Assuming the idle application process identifier is just another
  process. It carries no service, and decoding one as a service
  packet produces a report nothing generated.
- Checking the type without the direction. Both values are legal; only
  the pairing is wrong.

## Behavior contract (gate 3)

The length-field conversion in both directions, the version-first
refusal, per-field range checks, six-octet encode and decode round
trip, sequence-gap measurement across the counter wrap and the
whole-packet assessment against direction, service carriage and idle
reservation are exercised by the gate 3 contract test:
scripts/test_e7041_the_ccsds_space_packet_general.py against
scripts/e7041_the_ccsds_space_packet_general_logic.py (stdlib unittest,
offline). Run:
python3 scripts/test_e7041_the_ccsds_space_packet_general.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 →