"Secondary operations" for a group acting on a chain complex Suppose a group G acts on a chain complex K and induced action on H(K) is trivial. What "secondary operations" on H(K) can be defined in this situation?

Example. If $G=\langle\sigma\rangle/\sigma^n$ acts trivially on H(K) then $x-\sigma x=dl(x)$ (for some function $l$) and a secondary operation $x\mapsto l(x)+\sigma l(x)+\dots+\sigma^{n-1}l(x)$ is well-defined mod n. And this operation is non-trivial (consider a complex $Z[G]\to Z[G]$, $x\mapsto (1-\sigma)x$).
So looks like these operations has something to do with group homology, but details elude me.

Update. Two nice answers explain what is the meaning of the operation from the example above (and how it can be defined for an arbitrary group).
But does this construction give all operations? I.e. what structure on H(K) one needs to recover K (up to q/iso)? Like,


*

*associative multiplication on K $\Leftrightarrow$ $A_\infty$-structure on H(K);

*G-action on K $\Leftrightarrow$ ??? on H(K).


(Perhaps, there is a very general answer: not just for k[G] but for an arbitrary algebra — or even arbitrary operad, maybe. Probably, Tyler Lawson's comment is relevant — if somebody could elaborate on that...)
 A: Let's assume it is a chain complex of vector spaces over some field. Write the action as $g\mapsto a(g)$ where $a:K\to K$ is a chain map. For each $g\in G$, $a(g)$ is chain homotopic to the identity map. Choose $b(g)$ such that $db(g)+b(g)d=a(g)-1$. Then $db(g)a(h)+b(g)a(h)d=a(gh)-a(h)$ and $da(g)b(h)+a(g)b(h)d=a(gh)-a(g)$, so if $c(g,h)=b(g)a(h)-a(g)b(h)-b(g)+b(h)$ then $dc(g,h)+c(g,h)d=0$. This gives an element of $Hom(H_nK,H_{n+1}K)$ for every $g$ and $h$, and I believe a well-defined element of $H^2(G;Hom(H_nK,H_{n+1}K))$, for every $n$.
Edit: This is the same sort of thing that Tyler got in his answer. I was thinking about it like this: Imagine that it makes sense to speak of the topological group of automorphisms of $K$. We have a map of $G$ into $ker(Aut(K)\to \pi_0(Aut(K))=Aut(HK))$ and thus a map from $BG$ into the classifying space of the latter. This classifying space is simply connected and has $\pi_2=\pi_1Aut(K)=\pi_1End(K)=\prod_n Hom(H_nK,H_{n+1}K)$
A: (Nothing really new here, but just to link $A_\infty$-description and the explicit construction.)
Action of G on K induces $A_\infty$-action of Z[G] on H(K)=:H. And this is all operations one can define on H(K), since this structure defines K up to (equivariant) q/iso (ref).
Now, let's rewrite this in more concrete terms. $A_\infty$-action of Z[G] on H is just a collection of maps $m_i\colon G^{i-1}\times H\to H$ aka $m_i\colon G^{i-1}\to\operatorname{Hom}(H,H)$ ($i=2,3,\dots$). This maps are subject to some relations. In particular, if $m_{i+1}$ is first non-zero higher action, then $m_{i+1}$ satisfies cocycle condition and gives an element in $H^i(G,\operatorname{Hom}(H,H))$. For i=2 it is exactly the element from Tom Goodwillie's answer (and, probably, it also coincides with $d_i$ from Tyler Lawson's answer, although I don't have a proof).
A: One family of secondary operations that arise come from trying to find the difference between "classes that look like they are acted on trivially" and "classes that are genuinely (or coherently) acted on trivially".
Let $\cdots \to F_2 \to F_1 \to F_0 \to \mathbb{Z} \to 0$ be a free resolution of $\mathbb{Z}$.  We get a sequence of chain complexes $0 = C_{-1} \subset C_0 \subset C_1 \subset C_2 \subset \cdots$ where 
$$C_i = \cdots \to 0 \to F_i \to F_{i-1} \to \cdots \to F_1 \to F_0 \to 0$$
and we can look at mapping complexes of morphisms out:
$$\cdots \to Hom_{\mathbb{Z}[G]}(C_2, K) \to Hom_{\mathbb{Z}[G]}(C_1, K) \to Hom_{\mathbb{Z}[G]}(C_0, K) \to 0$$
This gives us a filtered chain complex and there's an associated spectral sequence.
The spectral sequence starts with
$$E_1^{p,q} = Hom(F_p, H^q(K))$$
and has next term
$$E_2^{p,q} = H^p(G, H^q(K)).$$
In particular, $E_2^{0,q}$ consists of the elements in $H_q(K)$ which are fixed by the $G$-action.
From here, we get a "secondary" operation: the $d_2$-differential $H^0(G, H^q(K)) \to H^2(G, H^{q-1}(K))$.  For cyclic groups, you've described this on elements (modulo you need to be careful about how well-defined it is).  The higher differentials give tertiary and higher operations.  For a given element $x \in H^q(K)$, these measure a sequence of obstructions to finding a chain complex $L \sim K$ such that $x$ is represented in $L$ by a class honestly fixed by $G$.
(I cohomologically indexed $K$, but only because people tend to complain if I don't.)
